Skip to main content
Question

Add or remove Assets in an instance !?


  • New Participant
  • 14 replies

Imagine a component with a list of, let’s say, 5 buttons. Each button can be visible or invisible via a toggle/boolean property. I was wondering how I can build the component so that you can easily add or remove buttons to the instance without changing the number of buttons in the main component.

This topic has been closed for comments

2 replies

Pavel_Kiselev

I’d do sets for that. Create few components, each to have numbers of buttons you want. Wire them up using instance swap prop.


  • Author
  • New Participant
  • 14 replies
  • May 30, 2024

Thank you Pavel 🙏


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