Skip to content

Commit

Permalink
Balances: using wrapped component in stories
Browse files Browse the repository at this point in the history
  • Loading branch information
dmytroshch committed Feb 2, 2022
1 parent f6d7035 commit 0b3c501
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
showTemplateStory,
getDefaultMetadata,
} from '../../../../../storybook/.storybook/helper'
import { Balances } from '../Balances'
import C, { Balances } from '../Balances'
import { data } from './Balances.stories_data'

export default getDefaultMetadata(Balances, 'Components/Balances')
Expand All @@ -14,7 +14,7 @@ const Component = (props) => {
const [hideSmallBalances, setHideSmallBalances] = useState(true)

return (
<Balances
<C
hideSmallBalances={hideSmallBalances}
setHideSmallBalances={setHideSmallBalances}
balances={data}
Expand Down

0 comments on commit 0b3c501

Please sign in to comment.