-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Description
Describe the bug
When passing a react node as a prop to a component, the docs page breaks with a "Cannot convert a Symbol value to a string" error.
This has only started happening after we migrated to v9.
Reproduction link
https://stackblitz.com/edit/github-j2jbgj4b?file=src%2Fstories%2FButton.stories.tsx
Reproduction steps
- Go to the above link
- Click on the 'docs' for the Button stories
- Check that a node is being passed to the label prop of the button
- See the error
System
Storybook Environment Info:
System:
OS: macOS 15.5
CPU: (8) arm64 Apple M3
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.19.4 - ~/.nvm/versions/node/v20.19.4/bin/node
Yarn: 4.9.2 - ~/.nvm/versions/node/v20.19.4/bin/yarn <----- active
npm: 10.8.2 - ~/.nvm/versions/node/v20.19.4/bin/npm
Browsers:
Chrome: 138.0.7204.184
Safari: 18.5
npmPackages:
storybook: ^9.1.0 => 9.1.0
Additional context
No response
dosubot, aaronadamsCA, vlad1mirJ and martabitbrainCopilot
Metadata
Metadata
Assignees
Type
Projects
Status
Done