|
|
@ -1,5 +1,4 @@ |
|
|
|
import { configure, setAddon } from '@kadira/storybook'; |
|
|
|
import { configure, setAddon } from '@kadira/storybook'; |
|
|
|
import IntlAddon from 'react-storybook-addon-intl'; |
|
|
|
|
|
|
|
import React from 'react'; |
|
|
|
import React from 'react'; |
|
|
|
import { storiesOf, action } from '@kadira/storybook'; |
|
|
|
import { storiesOf, action } from '@kadira/storybook'; |
|
|
|
import { addLocaleData } from 'react-intl'; |
|
|
|
import { addLocaleData } from 'react-intl'; |
|
|
@ -7,7 +6,6 @@ import en from 'react-intl/locale-data/en'; |
|
|
|
import '../app/javascript/styles/application.scss'; |
|
|
|
import '../app/javascript/styles/application.scss'; |
|
|
|
import './storybook.scss'; |
|
|
|
import './storybook.scss'; |
|
|
|
|
|
|
|
|
|
|
|
setAddon(IntlAddon); |
|
|
|
|
|
|
|
addLocaleData(en); |
|
|
|
addLocaleData(en); |
|
|
|
|
|
|
|
|
|
|
|
let req = require.context('./stories/', true, /.story.js$/); |
|
|
|
let req = require.context('./stories/', true, /.story.js$/); |
|
|
|