aboutsummaryrefslogtreecommitdiffstats
path: root/.storybook/config.js
blob: 48e3997ebcc5a3e3c942dd64b9153e3a6a178bca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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)