interface UiContainerProps {
    adBottom?: ReactNode;
    adBottomStyle?: StyleProp<ViewStyle>;
    adCenter?: ReactNode;
    adCenterStyle?: StyleProp<ViewStyle>;
    adTop?: ReactNode;
    adTopStyle?: StyleProp<ViewStyle>;
    behind?: ReactNode;
    bottom?: ReactNode;
    bottomStyle?: StyleProp<ViewStyle>;
    center?: ReactNode;
    centerStyle?: StyleProp<ViewStyle>;
    player: THEOplayer;
    style?: StyleProp<ViewStyle>;
    theme: THEOplayerTheme;
    top?: ReactNode;
    topStyle?: StyleProp<ViewStyle>;
}

Properties

adBottom?: ReactNode

The components to be put in the bottom slot during an ad.

Remarks


- Currently only supported for web.

adBottomStyle?: StyleProp<ViewStyle>

The style of the bottom ad slot.

adCenter?: ReactNode

The components to be put in the center slot during an ad.

Remarks


- Currently only supported for web.

adCenterStyle?: StyleProp<ViewStyle>

The style of the center ad slot.

adTop?: ReactNode

The components to be put in the top slot during an ad.

Remarks


- Currently only supported for web.

adTopStyle?: StyleProp<ViewStyle>

The style of the top ad slot.

behind?: ReactNode

A slot to put components behind the UI background.

bottom?: ReactNode

The components to be put in the bottom slot.

bottomStyle?: StyleProp<ViewStyle>

The style of the bottom slot.

center?: ReactNode

The components to be put in the center slot.

centerStyle?: StyleProp<ViewStyle>

The style of the center slot.

player: THEOplayer

The player that is provided to all children using PlayerContext.

The style of the container.

The theme that is provided to all children using PlayerContext.

top?: ReactNode

The components to be put in the top slot.

topStyle?: StyleProp<ViewStyle>

The style of the top slot.

Generated using TypeDoc