Skip to main content
Question

Change text dynamically According to the icon instance name in the same component

  • November 20, 2023
  • 1 reply
  • 606 views

mo_hamwi

Hi everyone,

I am trying to create button component for music platforms

As you can see in the picture I want to change the text inside the button according to the icon name without making Variant foreach platform

As you can see I have named every icon with its platform.

what I am wondering if there is a way to use icon name as a text content of the text on the right.

something like this:

This topic has been closed for comments

1 reply


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