Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Storybook story template
// Dependencies
import React from 'react'
import { storiesOf } from '@storybook/react'
import centered from '@storybook/addon-centered'
import { action } from '@storybook/addon-actions'
// Local Dependencies
import { ComponentDecorator } from 'stories/decorators'
import MyComponent from './index'
storiesOf('Components/MyComponent', module)
.add('default', () => (
<MyComponent />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment