source: imaps-frontend/node_modules/react-use/esm/useFullscreen.d.ts@ 0c6b92a

main
Last change on this file since 0c6b92a was d565449, checked in by stefan toskovski <stefantoska84@…>, 3 months ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 395 bytes
Line 
1import { RefObject } from 'react';
2export interface FullScreenOptions {
3 video?: RefObject<HTMLVideoElement & {
4 webkitEnterFullscreen?: () => void;
5 webkitExitFullscreen?: () => void;
6 }>;
7 onClose?: (error?: Error) => void;
8}
9declare const useFullscreen: (ref: RefObject<Element>, enabled: boolean, options?: FullScreenOptions) => boolean;
10export default useFullscreen;
Note: See TracBrowser for help on using the repository browser.