mirror of
https://github.com/streamich/react-use.git
synced 2026-01-18 14:06:52 +00:00
6 lines
896 B
TypeScript
6 lines
896 B
TypeScript
/// <reference types="react" />
|
|
declare const useVideo: (elOrProps: import("./util/createHTMLMediaHook").HTMLMediaProps | import("react").ReactElement<import("./util/createHTMLMediaHook").HTMLMediaProps, string | ((props: any) => import("react").ReactElement<any, string | any | (new (props: any) => import("react").Component<any, any, any>)> | null) | (new (props: any) => import("react").Component<any, any, any>)>) => [import("react").ReactElement<import("./util/createHTMLMediaHook").HTMLMediaProps, string | ((props: any) => import("react").ReactElement<any, string | any | (new (props: any) => import("react").Component<any, any, any>)> | null) | (new (props: any) => import("react").Component<any, any, any>)>, import("./util/createHTMLMediaHook").HTMLMediaState, import("./util/createHTMLMediaHook").HTMLMediaControls, {
|
|
current: HTMLAudioElement | null;
|
|
}];
|
|
export default useVideo;
|