Skip to main content
Question

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

  • November 20, 2023
  • 1 reply
  • 718 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 replies.

1 reply

  • December 21, 2023