import * as React from 'react'; import { storiesOf } from '@storybook/react'; // @ts-ignore import { setup as setupI18n } from '../../../js/modules/i18n'; // @ts-ignore import enMessages from '../../../\_locales/en/messages.json'; import { ContactName } from './ContactName'; const i18n = setupI18n('en', enMessages); storiesOf('Components/Conversation/ContactName', module) .add('Number, name and profile', () => { return ( ); }) .add('Number and profile, no name', () => { return ( ); }) .add('No name, no profile', () => { return ( ); }) .add('No data provided', () => { return ; });