meriadec
7 years ago
No known key found for this signature in database
GPG Key ID: 1D2FC2305E2CB399
1 changed files with
2 additions and
1 deletions
-
src/components/BalanceSummary/stories.js
|
|
@ -4,6 +4,7 @@ import React from 'react' |
|
|
|
import { storiesOf } from '@storybook/react' |
|
|
|
import { number } from '@storybook/addon-knobs' |
|
|
|
import { translate } from 'react-i18next' |
|
|
|
import { getFiatCurrencyByTicker } from '@ledgerhq/live-common/lib/helpers/currencies' |
|
|
|
|
|
|
|
import BalanceInfos from './BalanceInfos' |
|
|
|
|
|
|
@ -14,7 +15,7 @@ const BalanceInfosComp = translate()(BalanceInfos) |
|
|
|
stories.add('BalanceInfos', () => ( |
|
|
|
<BalanceInfosComp |
|
|
|
since="month" |
|
|
|
counterValue="USD" |
|
|
|
counterValue={getFiatCurrencyByTicker('USD')} |
|
|
|
totalBalance={number('totalBalance', 1000, { min: 0 })} |
|
|
|
sinceBalance={number('sinceBalance', 500, { min: 0 })} |
|
|
|
refBalance={number('refBalance', 200, { min: 0 })} |
|
|
|