10 lines
527 B
TypeScript
10 lines
527 B
TypeScript
|
|
import type { JSX } from "react";
|
||
|
|
import Player from "video.js/dist/types/player";
|
||
|
|
import { IWithMouseEventsProps } from "../with-mouse-events";
|
||
|
|
export interface IWithObservationProps extends IWithMouseEventsProps {
|
||
|
|
onShow?: (player: Player | null) => void;
|
||
|
|
onHide?: (player: Player | null) => void;
|
||
|
|
children: JSX.Element;
|
||
|
|
}
|
||
|
|
export declare const WithObservation: ({ children, onShow, onHide, onReady, ...props }: IWithObservationProps) => import("react/jsx-runtime").JSX.Element;
|
||
|
|
//# sourceMappingURL=index.d.ts.map
|