UNPKG

@mantine/hooks

Version:

A collection of 50+ hooks for state and UI management

7 lines (6 loc) 270 B
export interface UseFullscreenReturnValue<T extends HTMLElement = any> { ref: React.RefCallback<T | null>; toggle: () => Promise<void>; fullscreen: boolean; } export declare function useFullscreen<T extends HTMLElement = any>(): UseFullscreenReturnValue<T>;