UNPKG

react-howl

Version:
25 lines (20 loc) 435 B
import React from 'react'; import { storiesOf } from '@storybook/react'; import Bar from ':components/Bar'; import Foo from ':components/Foo'; import { ThemeProvider } from ':styles'; const themeOverrides = { colors: { primary: { color: 'pink', }, }, }; storiesOf('Foo', module).add('default', () => ( <div> <ThemeProvider theme={themeOverrides}> <Foo /> </ThemeProvider> <Bar /> </div> ));