UNPKG

react-common-use-components

Version:
16 lines (15 loc) 600 B
import React, { CSSProperties, ReactNode } from "react"; import { ProgressBarProps } from "../ProgressBar/ProgressBar"; interface VideoPlayerProps { url: string; width?: string; height?: string; playIcon?: ReactNode; pauseIcon?: ReactNode; forwardIcon?: ReactNode; progressBarConfig?: ProgressBarProps; backwardIcon?: ReactNode; timeTextStyle?: CSSProperties; } declare const VideoPlayer: ({ url, width, height, playIcon, pauseIcon, forwardIcon, progressBarConfig, backwardIcon, timeTextStyle }: VideoPlayerProps) => React.JSX.Element; export default VideoPlayer;