You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

20 lines
601 B

// @flow
import React from 'react'
import { genAccount } from '@ledgerhq/live-common/lib/mock/account'
import { storiesOf } from '@storybook/react'
import { boolean } from '@storybook/addon-knobs'
import OperationsList from 'components/OperationsList'
import Box from 'components/base/Box'
const stories = storiesOf('Components', module)
const account1 = genAccount('account1')
const account2 = genAccount('account2')
stories.add('OperationsList', () => (
<Box bg="lightGrey" p={6} m={-4}>
<OperationsList accounts={[account1, account2]} withAccount={boolean('withAccount')} />
</Box>
))