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
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: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/react
Credits
These definitions were written by Guilherme Vier.