aboutsummaryrefslogtreecommitdiffstats
path: root/.storybook/config.js
diff options
context:
space:
mode:
authorThomas <thomas.b.huang@gmail.com>2018-05-09 04:10:26 +0800
committerThomas <thomas.b.huang@gmail.com>2018-05-09 04:10:26 +0800
commit26c6bddebff70287b0fe805d78d2a13b0212805e (patch)
treee455a93a0f1cec3110f82ff2cb1b16ece1be110d /.storybook/config.js
parentd59105299a5d1e192d0abc9ec8d249a22c7bb489 (diff)
parentc3079ff160e0f0d0db8efb1b80692b293a363226 (diff)
downloadtangerine-wallet-browser-26c6bddebff70287b0fe805d78d2a13b0212805e.tar.gz
tangerine-wallet-browser-26c6bddebff70287b0fe805d78d2a13b0212805e.tar.zst
tangerine-wallet-browser-26c6bddebff70287b0fe805d78d2a13b0212805e.zip
Merge branch 'develop' into e2e-tests
Diffstat (limited to '.storybook/config.js')
-rw-r--r--.storybook/config.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/.storybook/config.js b/.storybook/config.js
new file mode 100644
index 000000000..48e3997eb
--- /dev/null
+++ b/.storybook/config.js
@@ -0,0 +1,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)