Type alias ComponentStoryObjCy<T>

ComponentStoryObjCy<T>: ComponentStoryObj<T> & WithCy<T> & {
    parameters?: CyParameters<T>;
}

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

Type Parameters

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