Nested component variant restriction bug
I'm seeing a bug with nested components connected with variant restrictions.
When I view the Code Connect code from the parent component the child component code ignores the variant restrictions and just renders the first code connect code sample. However if I view each nested component individually the correct code appears.
Breadcrumb (parent)
vs. Breadcrumb item (child)
My figma.tsx file is here https://github.com/carbon-design-system/carbon/pull/16348/files#diff-38ea233b4b838e2f4e41e8bbd621f7524ce7496d17ef86aa3826b33f7157f9b3R16
Hi Alison, thanks for the report! The team is aware of this issue and we'll be hopefully solving it soon. Will keep you posted in this thread when the fix gets released.
Confirmed this is fixed, thanks ya'll! 🥳