Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React Storybook shows undefined for composed components #812

Open
daneah opened this issue Sep 1, 2024 · 0 comments
Open

React Storybook shows undefined for composed components #812

daneah opened this issue Sep 1, 2024 · 0 comments

Comments

@daneah
Copy link
Member

daneah commented Sep 1, 2024

Expected behavior

When a component is composed of other components, Storybook shows a tabbed interface for the resulting component and each of its constituent components.

Screenshot 2024-09-01 at 08 18 47

Actual behavior

In the React Storybook, the resulting component shows as undefined, and for some components can't automatically generate the controls available.

Screenshot 2024-09-01 at 08 19 51

Steps to reproduce the issue

  1. Go to Storybook
  2. Visit a composed component like RadioGroup or InputGroup in the React section
  3. Observe the tab title and (for some components) the lack of controls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant