When using get_design_context on a parent component that contains and exposes a nested component instance’s property, the nested component's variant props are not surfaced in the parent's generated props. The nested component is inlined with only a className prop, regardless of what properties the nested component has.
Steps to reproduce
- Create a component with a boolean variant (e.g.,
ChildComponentwithisActive: true | false) - Create a parent component that nests an instance of
ChildComponent - Expose the properties from the nested
ChildComponent - Call
get_design_contexton the parent component set
Expected: Parent component props include a way to pass through the nested component's isActive prop, or the inline child function includes its variant props.
Actual: The inline ChildComponent function only accepts className. The isActive variant is visible in data-name attributes but not exposed as a prop.
