mirror of
https://github.com/primer/css.git
synced 2024-11-28 13:12:16 +03:00
11 lines
319 B
JavaScript
11 lines
319 B
JavaScript
import React from 'react'
|
|
import { storiesOf } from '@storybook/react'
|
|
import storiesFromMarkdown from '../../.storybook/lib/storiesFromMarkdown'
|
|
|
|
const stories = storiesOf('Truncate', module)
|
|
|
|
storiesFromMarkdown(require.context('.', true, /\.md$/))
|
|
.forEach(({title, story}) => {
|
|
stories.add(title, story)
|
|
})
|