1
1
mirror of https://github.com/primer/css.git synced 2024-12-11 11:16:04 +03:00
css/modules/primer-buttons/stories.js

10 lines
311 B
JavaScript
Raw Normal View History

2017-08-15 00:45:02 +03:00
import React from 'react'
import { storiesOf } from '@storybook/react'
2018-11-16 00:48:50 +03:00
import storiesFromMarkdown from '../../.storybook/lib/storiesFromMarkdown'
2017-08-15 00:45:02 +03:00
2018-11-16 00:48:50 +03:00
const stories = storiesOf('Button', module)
for (const {title, story} of storiesFromMarkdown(require.context('.', true, /\.md$/))) {
stories.add(title, story)
}