Options
All
  • Public
  • Public/Protected
  • All
Menu

@pascaliske/storybook-helpers

Storybook Helpers

npm (scoped) GitHub Tag Build Status codecov Dependabot Status

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

Generated using TypeDoc