import { ComponentProps } from 'react' ; import { INITIAL_VIEWPORTS } from '@storybook/addon-viewport' ; import { fAccounts } from '@fixtures' ; import AccountListComponent from './AccountList' ; export default { title : 'Organisms/AccountList' , component : AccountListComponent , parameters : { viewports : { viewports : INITIAL_VIEWPORTS } } } ; const Template = ( args ) => ( < AccountListComponent { ... args } / > ) ; export const Desktop = Template . bind ( { } ) ; Desktop . args = { accounts : fAccounts } ;