mirror of
https://github.com/primer/css.git
synced 2024-12-02 07:53:06 +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)
|
||
|
})
|