3.0.3 • Published 6 months ago

@types/react-leaflet-pixi-overlay v3.0.3

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

Installation

npm install --save @types/react-leaflet-pixi-overlay

Summary

This package contains type definitions for react-leaflet-pixi-overlay (hhttps://github.com/knapcio/react-leaflet-pixi-overlay).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-leaflet-pixi-overlay.

index.d.ts

// Type definitions for react-leaflet-pixi-overlay 3.0
// Project: hhttps://github.com/knapcio/react-leaflet-pixi-overlay
// Definitions by: Guilherme Vier <https://github.com/Guilherm456>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

import * as React from 'react';

export interface MarkerPropsPixiOverlay {
    id: string | number;
    position: [number, number];
    iconColor?: string;
    popup?: string;
    popupOpen?: boolean;
    onClick?: () => void;
    tooltip?: string;
    customIcon?: string;
    iconId?: string;
    markerSpriteAnchor?: [number, number];
}

export interface MarkersPropsPixiOverlay extends Array<MarkerPropsPixiOverlay> {}

export interface PixiOverlayProps {
    markers: MarkersPropsPixiOverlay;
}

export default class extends React.Component<PixiOverlayProps> {}

Additional Details

  • Last updated: Fri, 25 Mar 2022 18:31:52 GMT
  • Dependencies: @types/react
  • Global values: none

Credits

These definitions were written by Guilherme Vier.