Native styling

Hello,  I’m building something similar to an Avatar icon in Native. For example, I have an entity MyUser who has Name (string) and Color (hex color code – string) attributes. My plan is to put Name attribute in the container and then background color of a Color attribute, but how to do this? How to pass variable to styling? Or how to dynamically change background color based on an attribute value? Thanks in advance!
0 answers