1
1
mirror of https://github.com/primer/css.git synced 2024-12-24 22:53:58 +03:00
css/modules/primer-breadcrumb/stories.js
2017-09-12 23:59:56 -07:00

11 lines
327 B
JavaScript

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