styled(myText, backgroundColor)
To convert a given string to a styled object with a given background color.styled(myText, backgroundColor, icon)
To convert a given string to a styled object with a given background color and icon as text.styled(myText, backgroundColor, fontColor, icon)
To convert a given string to a styled object with a given background, font color, and icon as text.​
styled(myText, backgroundColor)
To convert a given string to a styled object with given background color as text.styled(myText, backgroundColor, icon)
To convert a given string to a styled object with a given background color and icon.styled(myText, backgroundColor, fontColor, icon)
To convert a given string to a styled object with a given background color, font color, and icon.​
styled(myText, JSON)
To convert a given string to a styled object with a JSON that consists of the following key-value pairs: { color: "myColor", background: "myColor2", icon: "iconName" }.