diff --git a/.storybook/config.js b/.storybook/config.js new file mode 100644 index 00000000..8baaa046 --- /dev/null +++ b/.storybook/config.js @@ -0,0 +1,9 @@ +import { configure } from '@storybook/react' + +const req = require.context('.', true, /\.js$/) + +const load = () => { + req.keys().forEach(req) +} + +configure(load, module)