Repository URL to install this package:
|
Version:
2.2.6 ▾
|
import { styled } from 'styleh-components'
import { Label } from 'atoms/Text'
import { ErrorMessage } from 'atoms/Error'
const StyledLabel = styled.withComponent(Label) ``
const SelectBoxWrapper = styled.div `
position: relative;
margin-bottom: rem(24);
.input-error {
border-color: #d54d4d;
}
`
const StyledErrorMessage = styled.withComponent(ErrorMessage) `
color: #D54D4D;
font-size: rem(12);
font-weight: 500;
position: absolute;
bottom: -rem(18);
`
export { SelectBoxWrapper, StyledLabel, StyledErrorMessage }