Skip to content

Supported styling properties for components of BannerMessage

Properties iOS Android Remarks
background-color: Color Background color of the banner
border-top-color: Color Color of the top border of the banner, for iOS only

MessageText

Properties iOS Android Remarks
font-color/color: Color Color of the message text
font-style: UIFont.TextStyle Style of the font, for iOS, e.g. body / caption / headline, refer to UIFont.TextStyle
font-typeface: Typeface Typeface of the font, e.g. bold, italic

ActionLabel

Properties iOS Android Remarks
font-color/color: Color Color of the button's text
font-size: Number Button's text font size
font-typeface: Typeface Typeface of the font, for Android, e.g. bold, italic
background-color: Color Button's background color

DismissButton

Properties iOS Android Remarks
font-color/color: Color For iOS, sets the color of the dismiss icon. For Android, sets the color of the text of the button
font-size: Number Button's text font size
font-typeface: Typeface Typeface of the font, for Android, e.g. bold, italic
background-color: Color Button's background color