npm.io
1.0.3 • Published 2 years ago

@types/react-leaflet-fullscreen-plugin

Licence
MIT
Version
1.0.3
Deps
1
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

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 1251 GMT
  • Dependencies: @types/react

Credits

These definitions were written by Zenoo.