let say i have a variable in a component, MyVar
.
I want to give to this variable a component type:
MyVar = MyComponentType.
MyComponentType
comes from a Json
String or a simple String 'MyComponentType'.
How can i do that?
let say i have a variable in a component, MyVar
.
I want to give to this variable a component type:
MyVar = MyComponentType.
MyComponentType
comes from a Json
String or a simple String 'MyComponentType'.
How can i do that?