scaffold_story
Generate a CSF3 stories file for a new component following Storybook conventions, and cache it locally so other tools see it before redeployment.
Instructions
Call after creating a new component: generates a CSF3 *.stories.tsx file that follows this Storybook's conventions, and remembers the component locally so other tools see it before Storybook is redeployed. Returns file content only; write it yourself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| importPath | No | ||
| description | No | ||
| componentName | Yes | ||
| componentSource | Yes | ||
| referenceComponent | No |