mirror of
https://github.com/primer/css.git
synced 2024-11-30 01:04:04 +03:00
10 lines
311 B
JavaScript
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)
|
|
}
|