test(input): add name prop to input component

This commit is contained in:
George Lima 2019-01-23 14:04:57 -03:00
parent d16fdd2838
commit 517d5a87a9
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,7 @@ type Props = {
disabled?: boolean,
type?: string,
step?: number,
name?: string,
};
export const InputComponent = ({
@ -58,4 +59,5 @@ InputComponent.defaultProps = {
rows: 4,
disabled: false,
type: 'text',
name: '',
};