I have a sidebar menu list item
component with three variants: Default
, Hover
, and Selected
. Each of those has icon
and text
nested components, and each of those has their own properties.
icon
has instance swap and Boolean properties:
text
has instance swap, Boolean, and text properties:
I have exposed the properties of icon
and text
to my sidebar menu list item
component. However, the instance swap properties are not exposed to the top-level component/instance:
This is annoying because, rather than being able to set all of my properties for my top-level instance in one place, I have to drill down into it to be able to set the instance swap property for the sub-instance.