1
1
mirror of https://github.com/primer/css.git synced 2024-12-04 03:46:28 +03:00
css/modules/primer-navigation/stories.js

11 lines
321 B
JavaScript
Raw Normal View History

2017-10-21 02:25:52 +03:00
import React from 'react'
import { storiesOf } from '@storybook/react'
2017-10-28 03:12:50 +03:00
import storiesFromMarkdown from '../../.storybook/lib/storiesFromMarkdown'
2017-10-21 02:25:52 +03:00
2017-10-28 03:12:50 +03:00
const stories = storiesOf('Navigation', module)
2017-10-21 02:25:52 +03:00
2017-10-28 03:12:50 +03:00
storiesFromMarkdown(require.context('.', true, /\.md$/))
.forEach(({title, story}) => {
stories.add(title, story)
})