udate textarea to use destructuring, fix styling

This commit is contained in:
Stefan Feješ
2018-12-12 10:53:08 +01:00
parent 3de2097478
commit a920168cd4
3 changed files with 6 additions and 6 deletions

View File

@ -13,7 +13,7 @@ function Input ({ callback, type = 'text', disabled = false, readOnly = false, p
disabled={disabled}
readOnly={readOnly}
placeholder={placeholder}
onChange={({ target: { value }}) => callback(value)}
onChange={({ target: { value } }) => callback(value)}
/>
);
}