Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/ui / dist / components / atoms / Video / typings.d.ts
Size: Mime:
/// <reference types="react" />
export declare type VideoSourceType = 'webm' | 'ogg' | 'mp4' | string;
export declare type AutoPlay = boolean | undefined;
export declare type URL = string;
export declare type SourceType = VideoSourceType | Array<VideoSourceType>;
export interface SourceProps {
    src: SourceType;
}
export interface VanillaVideoTypes<Type = any> extends React.VideoHTMLAttributes<Type> {
    ref: HTMLMediaElement;
    shouldAutoPlay?: boolean;
    muted?: boolean;
    shouldLoop?: boolean;
    src?: string;
}
export interface VideoTypes {
    src: SourceType;
    cover: URL;
    shouldAutoPlay?: AutoPlay;
    shouldLoop?: boolean;
    enableControls?: boolean;
    muted?: boolean;
    preload?: 'auto';
    className?: string;
    isPaused?: boolean | undefined;
}
export { VideoTypes as VideoProps };
export interface AliasedVideoTypes extends VideoTypes {
    shouldAutoplay?: boolean;
    thumbnailImage?: string;
    poster?: string;
}