1
1
mirror of https://github.com/primer/css.git synced 2024-11-28 22:01:43 +03:00
css/modules/primer-subhead/stories.js

11 lines
318 B
JavaScript

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