Skip to main content
Solved

Component reusability

  • October 20, 2023
  • 1 reply
  • 213 views

Kaere_Alarcon

I’ve been trying for a while to figure out if there’s a way to use variables to simplify the creation of interactions.

The component I have is the following:
image

I would like that when changing the name of the child component, it would apply to the interactions I’ve set in that component.

Is it possible to do something like that?

Best answer by Nate_G

@Kaere_Alarcon You could apply a text property to all your “Text” within that component.

Then when you select an instance of that component, you’ll have a field that will allow you to change the text and that will change the text for the different states of that instance - default, hover, active.

This topic has been closed for replies.

1 reply

Nate_G
  • Power Member
  • Answer
  • October 20, 2023

@Kaere_Alarcon You could apply a text property to all your “Text” within that component.

Then when you select an instance of that component, you’ll have a field that will allow you to change the text and that will change the text for the different states of that instance - default, hover, active.