@wscsports/blaze-rtn-sdk
Version:
WSC Sports Blaze SDK component for React Native
56 lines • 1.79 kB
TypeScript
import { BlazeFont, BlazeImage, BlazePlayerButtonStyle, BlazeSeekBarStyle } from '.';
export interface BlazeVideosPlayerStyle {
headingText?: BlazeVideosPlayerHeadingTextStyle;
buttons?: BlazeVideosPlayerButtonsStyle;
backgroundColor?: string;
cta?: BlazeVideosPlayerCtaStyle;
seekBar?: BlazeVideosPlayerSeekBarStyle;
}
interface BlazeVideosPlayerHeadingTextStyle {
font?: BlazeFont;
textColor?: string;
textSize?: number;
contentSource?: BlazeVideosPlayerHeadingTextContentSource;
isVisible?: boolean;
numberOfLines?: number;
}
interface BlazeVideosPlayerButtonsStyle {
mute?: BlazePlayerButtonStyle;
exit?: BlazePlayerButtonStyle;
share?: BlazePlayerButtonStyle;
like?: BlazePlayerButtonStyle;
playPause?: BlazePlayerButtonStyle;
previous?: BlazePlayerButtonStyle;
next?: BlazePlayerButtonStyle;
}
interface BlazeVideosPlayerCtaStyle {
cornerRadius?: number;
textSize?: number;
font?: BlazeFont;
width?: number;
height?: number;
icon?: BlazeVideosPlayerCtaIconStyle;
ctaVisibility?: BlazeVideosPlayerCtaVisibility;
}
export type BlazeVideosPlayerCtaVisibility = {
type: "visibleAfterOverlayHidden";
duration: number;
} | {
type: "alwaysVisible";
};
interface BlazeVideosPlayerCtaIconStyle {
iconImage?: BlazeImage;
iconPositioning?: BlazeVideosPlayerCTAIconPositioning;
iconTint?: string;
}
interface BlazeVideosPlayerSeekBarStyle {
isVisible?: boolean;
playingState?: BlazeSeekBarStyle;
pausedState?: BlazeSeekBarStyle;
horizontalSpacing?: number;
bottomSpacing?: number;
}
type BlazeVideosPlayerHeadingTextContentSource = 'Title';
type BlazeVideosPlayerCTAIconPositioning = 'Start';
export {};
//# sourceMappingURL=videos-player-style.d.ts.map