Last active
July 9, 2020 16:28
-
-
Save ribeiroevandro/7e0a75f31178e83c0ee409ac0cb95e74 to your computer and use it in GitHub Desktop.
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
import styled, { css } from 'styled-components'; | |
interface ContainerProps { | |
isFocused: boolean; | |
isFilled: boolean; | |
isErrored: boolean; | |
isFullWidth?: boolean; | |
} | |
export const Container = styled.div<ContainerProps>` | |
background: #fff; | |
border-radius: 5px; | |
padding: 16px; | |
width: ${({ isFullWidth }) => isFullWidth ? '100%' : '436px'}; | |
color: #232323; | |
display: flex; | |
align-items: center; | |
input { | |
background: transparent; | |
flex: 1; | |
border: 0; | |
color: #333; | |
font-size: 16px; | |
font-weight: bold; | |
font-family: 'Poppins'; | |
} | |
`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment