Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

pascaliske/storybook-helpers

Repository files navigation

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