Skip to content

Commit

Permalink
chore: added story info and removed blank panel
Browse files Browse the repository at this point in the history
  • Loading branch information
cazala committed Jun 25, 2018
1 parent 3e70fc2 commit f65b713
Show file tree
Hide file tree
Showing 4 changed files with 28,384 additions and 1,098 deletions.
5 changes: 4 additions & 1 deletion .storybook/config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
const { configure, addDecorator } = require('@storybook/react')
const centered = require('@storybook/addon-centered').default
const { setOptions } = require('@storybook/addon-options')
const { withInfo } = require('@storybook/addon-info')

setOptions({
name: 'Decentraland',
url: 'https://decentraland.org',
goFullScreen: false,
showStoriesPanel: true,
showAddonPanel: true,
showAddonPanel: false,
showSearchBox: false,
addonPanelInRight: false,
sortStoriesByKind: false,
Expand All @@ -17,6 +18,8 @@ setOptions({
selectedAddonPanel: undefined,
enableShortcuts: false // true by default
})

addDecorator(withInfo)
addDecorator(centered)

// this is to make storyshots work (and jest in general) because it lacks webpack's require.context function
Expand Down
Loading

0 comments on commit f65b713

Please sign in to comment.