1.0.3 • Published 5 months ago

@types/react-leaflet-fullscreen-plugin v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

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

// Type definitions for react-leaflet-fullscreen-plugin 1.0
// Project: https://github.com/elangobharathi/react-leaflet-fullscreen-plugin
// Definitions by: Zenoo <https://github.com/Zenoo>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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: Wed, 20 Apr 2022 23:01:45 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Zenoo.