Skip to main content

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:

image


text has instance swap, Boolean, and text properties:

image


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:

image


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.

Be the first to reply!

Reply