Last active
January 17, 2022 08:40
-
-
Save petrosDemetrakopoulos/44cca61ebbcc3521a756857272ad2bff to your computer and use it in GitHub Desktop.
Declaring the styled components that we will use to create the ListItem
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const CheckBox = styled.input` | |
margin: 6px 10px 5.8px 3px; | |
border-radius: 2px; | |
border: solid 1px #c6c4d2; | |
width: 5%; | |
float: left; | |
background: ${(porps) => (porps.checked ? '#482474' : '#fbfcff')}; | |
` | |
const Container = styled.div` | |
margin-bottom: 0px !important; | |
margin-top: 2px; | |
&:after { | |
content: ""; | |
display: table; | |
clear: both; | |
} | |
` | |
const Description = styled.p` | |
padding-bottom: 1px; | |
margin-top: 4px; | |
font-size: 15px; | |
font-weight: normal; | |
font-stretch: normal; | |
font-style: normal; | |
text-align: left; | |
` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment