Skip to content

Commit

Permalink
docs: link to repo from storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
alampros committed Apr 3, 2019
1 parent 6965e37 commit 937a382
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .storybook/config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
import { configure } from '@storybook/react'
import { addParameters, configure } from '@storybook/react'
import { create } from '@storybook/theming'
addParameters({
options: {
theme: create({
base: 'light',
brandTitle: 'React Confetti',
brandUrl: 'https://github.com/alampros/react-confetti',
}),
},
})

// automatically import all files ending in *.stories.js
const req = require.context('../stories', true, /.stories.jsx?$/)
function loadStories() {
req.keys().forEach(filename => req(filename))
Expand Down

0 comments on commit 937a382

Please sign in to comment.