forgeplus-react/node_modules/ahooks/lib/useFullscreen/index.d.ts

12 lines
363 B
TypeScript

import { BasicTarget } from '../utils/dom';
export interface Options {
onExitFull?: () => void;
onFull?: () => void;
}
declare const _default: (target: BasicTarget, options?: Options | undefined) => readonly [boolean, {
readonly setFull: () => void;
readonly exitFull: () => void;
readonly toggleFull: () => void;
}];
export default _default;