1
1
mirror of https://github.com/primer/css.git synced 2025-01-01 18:53:34 +03:00
This commit is contained in:
Shawn Allen 2017-09-12 23:59:56 -07:00
parent 1b6c2bdc9b
commit 50c635566a

View File

@ -5,6 +5,6 @@ import storiesFromMarkdown from '../../.storybook/lib/storiesFromMarkdown'
const stories = storiesOf('Breadcrumb', module)
storiesFromMarkdown(require.context('.', true, /\.md$/))
.forEach((story, i) => {
stories.add(`story #${i + 1}`, () => story)
.forEach(({story, title}) => {
stories.add(title, () => story)
})