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