mirror of
https://github.com/primer/css.git
synced 2024-12-01 04:21:12 +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