Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ouji-miyahara committed Jun 6, 2019
1 parent fdbbc89 commit f3b85e2
Show file tree
Hide file tree
Showing 4 changed files with 305 additions and 12 deletions.
1 change: 1 addition & 0 deletions .storybook/addons.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import '@storybook/addon-a11y/register'
import '@storybook/addon-actions/register'
import '@storybook/addon-links/register'
import '@storybook/addon-viewport/register'
3 changes: 3 additions & 0 deletions .storybook/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ function loadStories() {

addDecorator(storyFn => <ThemeProvider theme={createTheme()}>{storyFn()}</ThemeProvider>)
configure(loadStories, module)

import { withA11y } from '@storybook/addon-a11y'
addDecorator(withA11y)
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@storybook/addon-a11y": "^5.1.1",
"@storybook/addon-actions": "^5.0.11",
"@storybook/addon-links": "^5.0.11",
"@storybook/addon-viewport": "^5.0.11",
Expand Down
Loading

0 comments on commit f3b85e2

Please sign in to comment.