Skip to content

Commit

Permalink
addon to make top left button say primer and link to primer.io
Browse files Browse the repository at this point in the history
  • Loading branch information
broccolini committed Sep 8, 2017
1 parent 5cd0d0e commit 8774089
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .storybook/addons.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import '@storybook/addon-options/register'
7 changes: 7 additions & 0 deletions .storybook/config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
import { configure } from '@storybook/react'
import { setOptions } from '@storybook/addon-options'
import '../modules/primer-css/index.scss'

setOptions({
name: 'Primer',
url: 'http://primercss.io/',
showDownPanel: false,
})

const req = require.context('.', true, /\.js$/)

const load = () => {
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"test": "lerna run test"
},
"devDependencies": {
"@storybook/addon-options": "^3.2.6",
"@storybook/react": "^3.2.4",
"ava": "^0.21.0",
"babel-preset-env": "^1.6.0",
Expand Down

0 comments on commit 8774089

Please sign in to comment.