1
1
mirror of https://github.com/primer/css.git synced 2024-11-30 01:04:04 +03:00
css/modules/primer-buttons/stories.js
2018-11-15 13:48:50 -08:00

10 lines
311 B
JavaScript

import React from 'react'
import { storiesOf } from '@storybook/react'
import storiesFromMarkdown from '../../.storybook/lib/storiesFromMarkdown'
const stories = storiesOf('Button', module)
for (const {title, story} of storiesFromMarkdown(require.context('.', true, /\.md$/))) {
stories.add(title, story)
}