import React from 'react' ; import { Meta , Story } from '@storybook/react' ; import { ErrorText } from './ErrorText' ; export default { title : 'Components/forms/ErrorText' , component : ErrorText } as Meta ; const Template = ( ) => ( < ErrorText > An unexpected error occured < /ErrorText>); export const ErrorTextView = Template . bind ( { } ) ;