GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeMomentsPlayerHeadingTextStyle - React Native

The BlazeMomentsPlayerHeadingTextStyle class represents the style of the heading text used in a moment.

Properties

font

font?: BlazeFont

The font of the heading text.

textSize

textSize?: number

The size of the heading text.

textColor

textColor?: string

The color of the heading text.

isVisible

var isVisible: boolean

The visibility of the heading text.

contentSource

contentSource?: BlazeMomentsPlayerHeadingTextContentSource

The source value of the heading text.

BlazeMomentsPlayerHeadingTextContentSource

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

ValueDescription
TitleHeading text will be populated from the the title
SubtitleHeading text will be populated from the the subtitle

Initialization

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

Did this page help you?