1
1
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:
broccolini 2017-08-14 17:44:26 -04:00
parent abf4c24afa
commit d1968857ec

9
.storybook/config.js Normal file
View 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)