Skip to content

mupinnn/storybook-vite-react-ts-docgen-repro

Repository files navigation

Minimal reproduction for @storybook/vite-builder with React + Typescript component control props rendering

Steps to reproduce

  • Init project via yarn create vite <project_name> --template react-ts.
  • Run npx sb init --builder @storybook/builder-vite to initialize storybook with vite builder.
  • Then create same exact component like that lives in here ./src/components/Button.
  • Run yarn storybook

Problems

As I stated in storybookjs/builder-vite#79 (comment), my IconButton did correctly generate the props control but the BaseButton didn't.