pharos icon indicating copy to clipboard operation
pharos copied to clipboard

React Storybook shows `undefined` for composed components

Open daneah opened this issue 1 year ago • 0 comments

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

daneah avatar Sep 01 '24 12:09 daneah