mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
12 lines
293 B
JavaScript
12 lines
293 B
JavaScript
|
import { configure } from '@storybook/react'
|
||
|
import '../ui/app/css/index.scss'
|
||
|
|
||
|
const req = require.context('../ui/app/components', true, /\.stories\.js$/)
|
||
|
|
||
|
function loadStories () {
|
||
|
require('./decorators')
|
||
|
req.keys().forEach((filename) => req(filename))
|
||
|
}
|
||
|
|
||
|
configure(loadStories, module)
|