Skip to main content
Question

Exposed properties do not seem to change child's variants


Thyron

I enabled new feature of exposed properties and tried to rework my design to use them.
Hovewer I encountered a problem with child variants.

I have main button with icon component with two child components(icon and background).

Component that holds icon has size variants and instance swap property for icon change.
Background component has only size variants.

I exposed both child’s properties to main button and they show up(icon AND size).

Hovewer while trying to change size property the button doesn’t change.
I haven’t seen anywhere description of what types of properties currenty work with this feature, but I figured that if they show up in main component they do.

Is this considered a bug or indendent behavior? Or did I misconfigured something?

Test

This topic has been closed for comments

3 replies

tank666
  • 4854 replies
  • October 4, 2022

In your example, resizing doesn’t work anyway, even if you didn’t use expose properties.


Thyron
  • Author
  • 1 reply
  • October 4, 2022

Found error, everything works. Thanks!


  • 0 replies
  • November 3, 2022

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings