UNPKG

@sparkpost/matchbox

Version:
15 lines (12 loc) 420 B
import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import { StoryContainer } from './helpers'; import { ProgressBar } from '../src'; export default storiesOf('ProgressBar', module) .addDecorator((getStory) => ( <StoryContainer>{ getStory() }</StoryContainer> )) .addWithInfo('Default', () => ( <ProgressBar completed={54} /> ));