mirror of
https://github.com/primer/css.git
synced 2024-12-11 11:16: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)
|
|
}
|