diff --git a/.storybook/Octicon.js b/.storybook/Octicon.js index 5af481ab..0f38b5bb 100644 --- a/.storybook/Octicon.js +++ b/.storybook/Octicon.js @@ -1,5 +1,6 @@ import React from 'react' import {storiesOf} from '@storybook/react' + import octicons from 'octicons' import SVGInline from 'react-svg-inline' @@ -12,13 +13,14 @@ const Octicon = (props) => { } } -const story = storiesOf('Octicons', module) const sizes = [64, 32, 16] -Object.keys(octicons).forEach(name => { - story.add(name, () => ( -
{sizes.map((size, i) => ( - - ))}
- )) -}) +storiesOf('Octicons', module) + .add('test', () => { + const name = 'beaker' + return ( +
{sizes.map((size, i) => ( + + ))}
+ ) + })