GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeMomentsPlayerHeaderGradientStyle - React Native

The BlazeMomentsPlayerHeaderGradientStyle class represents the header gradient configuration for the moments view.

Properties

isVisible

isVisible?: boolean

A flag indicates whether the gradient is visible.

startColor

startColor?: string  //Hex

The start color of the gradient.

endColor

endColor?: string  //Hex

The end color of the gradient.

Initialization

interface BlazeMomentsPlayerHeaderGradientStyle {
  isVisible?: boolean;
  startColor?: string; //Hex
  endColor?: string; //Hex
}

Did this page help you?