Type alias ComponentStoryCy<T>

ComponentStoryCy<T>: ComponentStory<T> & WithCy<T> & {
    parameters?: CyParameters<T>;
}

Drop this in where you would normally see ComponentStory type to add cypress controls to storybook stories in the story format.

Type Parameters

  • T extends keyof JSX.IntrinsicElements | JSXElementConstructor<any>