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

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: