import React from 'react'; import 'video.js/dist/video-js.css'; import './index.scss'; export declare const VideoJS: (props: IVideoProps) => React.JSX.Element; export default VideoJS; export interface IVideoProps { options: Ioptions; change?: Function; isPreviewShow?: boolean; isScreening?: boolean; width?: number; height?: number; } export interface Ioptions { mixedmode?: any; status?: string; autoplay?: boolean; controls?: boolean; controlsAlwaysShow?: string; muted?: boolean; loop?: boolean; sources?: ISources[]; opacity?: number; } export interface ISources { src?: string; type?: string; }