CSS fixes

This commit is contained in:
Jori Lallo
2017-11-07 22:02:07 -08:00
parent 53cda8ce2b
commit 01af3e8c36
7 changed files with 40 additions and 34 deletions

View File

@ -60,11 +60,11 @@ export type Props = {
className?: string,
};
export default function Input({ type, label, ...rest }: Props) {
export default function Input({ type, label, className, ...rest }: Props) {
const InputComponent = type === 'textarea' ? RealTextarea : RealInput;
return (
<Wrapper>
<Wrapper className={className}>
<label>
{label && <LabelText>{label}</LabelText>}
<Outline>