mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 18:41:38 +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)
|