Add Input and AmountInput component

This commit is contained in:
fragosti
2018-10-04 18:57:40 -07:00
parent bf0437324d
commit c5084f023a
5 changed files with 75 additions and 3 deletions

View File

@@ -22,6 +22,7 @@ export interface ContainerProps {
border?: string;
borderColor?: ColorOption;
borderTop?: string;
borderBottom?: string;
className?: string;
backgroundColor?: ColorOption;
hasBoxShadow?: boolean;
@@ -50,6 +51,7 @@ export const Container = styled(PlainContainer)`
${props => cssRuleIfExists(props, 'border-radius')}
${props => cssRuleIfExists(props, 'border')}
${props => cssRuleIfExists(props, 'border-top')}
${props => cssRuleIfExists(props, 'border-bottom')}
${props => (props.hasBoxShadow ? `box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1)` : '')};
background-color: ${props => (props.backgroundColor ? props.theme[props.backgroundColor] : 'none')};
border-color: ${props => (props.borderColor ? props.theme[props.borderColor] : 'none')};