GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeMomentsPlayerBodyTextStyle - React Native

The BlazeMomentsPlayerBodyTextStyle class represents the style of the body text used in a moment.

Properties

font

font?: BlazeFont

A resource id representing the path of the font of the body text.

textSize

textSize?: number

The size of the body text.

textColor

textColor?: string

The color of the body text.

isVisible

isVisible?: boolean

The visibility of the body text.

contentSource

contentSource?: BlazeMomentsPlayerHeadingTextContentSource

The source value of the body text.

BlazeMomentsPlayerHeadingTextContentSource

The BlazeMomentsPlayerHeadingTextContentSource is used to define the source of the content to be populated from.

ValueDescription
TitleBody text will be populated from the the title
SubtitleBody text will be populated from the the subtitle
DescriptionBody text will be populated from the the description

Initialization

interface BlazeMomentsPlayerBodyTextStyle {
  font?: BlazeFont;
  textColor?: string; //Hex
  textSize?: number;
  contentSource?: BlazeMomentsPlayerItemBodyTextContentSource;
  isVisible?: boolean;
}

Did this page help you?