Describe the bug
When using subcomponents (example: <SegmentedControl.Button>), the documentation in the manifest will completely replace any props or JSDocs you may have for the subcomponents with the docs & props for the parent component.
Steps to reproduce the behavior
- Add a tsx component
<Parent> with JSDocs and props.
- Add a child tsx component
<Child> with JSDocs and props.
- Assign the child to the parent as a subcomponent.
Parent.Child = Child.
- View the result
http://localhost:8080/manifests/components.html#filter-all. Child will show the parent's docs.
Expected behavior
The child's props and JSDoc should be used instead of being overwritten by the parent's props and JSDoc.
Screenshots and/or logs
Here's a screenshot from a library I am building.

Environment
- OS: MacOS
- Node.js version: 22.21.0
- NPM version: Latest
- Browser (if applicable): Safari
- Storybook Version: 10.3.5
Describe the bug
When using subcomponents (example:
<SegmentedControl.Button>), the documentation in the manifest will completely replace any props or JSDocs you may have for the subcomponents with the docs & props for the parent component.Steps to reproduce the behavior
<Parent>with JSDocs and props.<Child>with JSDocs and props.Parent.Child = Child.http://localhost:8080/manifests/components.html#filter-all. Child will show the parent's docs.Expected behavior
The child's props and JSDoc should be used instead of being overwritten by the parent's props and JSDoc.
Screenshots and/or logs
Here's a screenshot from a library I am building.

Environment