Storybook Helpers
Installation
To install the package use the following commands:
$ yarn add @pascaliske/storybook-helpers
Usage
import { createStory } from '@pascaliske/storybook-helpers'
import { FooComponent } from './foo.component'
export default {
title: 'FooComponent',
}
export const Basic = createStory({
parameters: {},
factory: () => ({
component: FooComponent,
props: {},
}),
})
License
MIT © Pascal Iske