mirror of
https://github.com/primer/css.git
synced 2024-11-28 13:12:16 +03:00
import all modules in storybook folder
This commit is contained in:
parent
abf4c24afa
commit
d1968857ec
9
.storybook/config.js
Normal file
9
.storybook/config.js
Normal file
@ -0,0 +1,9 @@
|
||||
import { configure } from '@storybook/react'
|
||||
|
||||
const req = require.context('.', true, /\.js$/)
|
||||
|
||||
const load = () => {
|
||||
req.keys().forEach(req)
|
||||
}
|
||||
|
||||
configure(load, module)
|
Loading…
Reference in New Issue
Block a user