type UIText.IconStyle
Options for displaying an icon within a text or button control.
type IconStyle = {
size?: string | number;
margin?: string | number;
color?: UIColor;
position?: "top" | "start" | "end" | "bottom";
};Instance members
size
The icon size in pixels or as a string with unit.margin
The space between the icon and text, in pixels or as a string with unit.color
The icon color.position
The position of the icon relative to the text; defaults to “start”.
Related
class UIText
A view class that represents a text element.
