import { IconButtonProps } from "@components/IconButton/IconButton.interface"; import { PropsWithChildren } from "react"; export interface IControlsButtonProps extends Required> { } export interface IControlsButtonGroupProps { items?: IControlsButtonProps[]; type: "options" | "controls"; controlsPosition?: "inline" | "onScreen" | "bottom"; optionsPosition?: "absolute" | "inline"; } export interface IVideoPlayerProps extends PropsWithChildren { currentTime?: string; leftTime?: string; options?: IControlsButtonProps[]; controls?: IControlsButtonProps[]; controlsPosition?: "inline" | "onScreen" | "bottom"; optionsPosition?: "absolute" | "inline"; timePosition?: "inline" | "bottom"; }