BlazeColor
The BlazeColor interface is responsible for managing the color.
The instances of the Props color type anticipate the input of hex values in the RGBA format.In this format, the first six characters represent the red, green, and blue components, while the last two digits signify the opacity or alpha channel, allowing for precise control over transparency in the rendered color.
Properties
colorName - iOS
This field specifies the actual color name utilized by iOS for loading the designated color.
The color name must be represented in hexadecimal format.
colorFileName - Android
This field denotes the color file name within the app's "colors" folder, as employed by Android.
The file extension should correspond to the designated color tag in the "color.xml" file situated within the "values" folder extension.
Initialization
interface BlazeColor {
colorName?: string;
colorFileName?: string;
}Updated about 2 months ago
Did this page help you?
