Installation
npm install --save @types/react-leaflet-fullscreen-plugin
Summary
This package contains type definitions for react-leaflet-fullscreen-plugin (https://github.com/elangobharathi/react-leaflet-fullscreen-plugin).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-leaflet-fullscreen-plugin.
index.d.ts
import { JSX } from "react";
export interface FullscreenProps {
position?: "topleft" | "topright" | "bottomleft" | "bottomright" | undefined;
title?: string | undefined;
titleCancel?: string | undefined;
content?: string | undefined;
forceSeparateButton?: boolean | undefined;
forcePseudoFullscreen?: boolean | undefined;
fullscreenElement?: false | HTMLElement | undefined;
eventHandlers?: {
enterFullscreen?: (event: Event) => void;
exitFullscreen?: (event: Event) => void;
} | undefined;
}
declare function Fullscreen(props: FullscreenProps): JSX.Element;
export default Fullscreen;
Additional Details
- Last updated: Tue, 05 Dec 2023 12:09:51 GMT
- Dependencies: @types/react
Credits
These definitions were written by Zenoo.