UNPKG

react-stv-player

Version:

A highly customizable React video player built on Video.js, supporting custom buttons, themes, and advanced playback controls.

17 lines (16 loc) 722 B
import { FocusableComponentLayout, FocusDetails, KeyPressDetails } from '@noriginmedia/norigin-spatial-navigation'; import { CSSProperties } from 'react'; type ControlButtonProps = { children?: React.ReactNode; handlePress?: (props: object, details: KeyPressDetails) => void | undefined; onFocus?: (layout: FocusableComponentLayout, props: object, details: FocusDetails) => void; handleRelease?: () => void | undefined; handleArrowPress?: (dir: string) => boolean; focusKey: string; className?: string; activeClass?: string; style?: CSSProperties; disabled?: boolean; }; export declare function Button(props: ControlButtonProps): import("react/jsx-runtime").JSX.Element; export {};