Browse Source

Fix BalanceInfos storybook

master
meriadec 7 years ago
parent
commit
b7d4e6c7bb
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 3
      src/components/BalanceSummary/stories.js

3
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 })}

Loading…
Cancel
Save