UNPKG

custom-react-player

Version:
6 lines (5 loc) 384 B
import { PropsWithChildren } from 'react'; import { type PlayerContext } from '../types'; export declare const DefaultPlayerState: PlayerContext; export declare const PContext: import("react").Context<PlayerContext>; export declare function PlayerContextProvider({ state, children, }: PropsWithChildren<Omit<PlayerContext, 'setState'>>): import("react/jsx-runtime").JSX.Element;