import * as React from 'react'; import { storiesOf } from '@storybook/react'; import { wInfo } from '@utils/wInfo'; import BenefitsBar from '.'; import * as tokens from '@tokens'; const benefitsBar = () => { return wInfo(` ### Usage ~~~js Text ~~~`)(() => ( Free 90-day Returns and Exchanges )); }; const benefitsBarInverted = () => { return wInfo(` ### Usage ~~~js Text ~~~`)(() => ( Free 90-day Returns and Exchanges )); }; (storiesOf('Benefits Bar', module) as any) .addWithJSX('Primary', benefitsBar()) .addWithJSX('Inverted', benefitsBarInverted());