import React from 'react' ; import { Meta , Story } from '@storybook/react' ; import { TextInput , ITextInputProps } from './TextInput' ; export default { title : 'Components/forms/TextInput' , component : TextInput } as Meta ; const Template = ( args ) => < TextInput { ... args } / > ; export const TextInputView = Template . bind ( { } ) ;