mirror of
https://github.com/sstent/aicyclingcoach-go.git
synced 2026-01-27 01:22:18 +00:00
sync
This commit is contained in:
18
node_modules/@react-leaflet/core/lib/generic.d.ts
generated
vendored
18
node_modules/@react-leaflet/core/lib/generic.d.ts
generated
vendored
@@ -1,18 +0,0 @@
|
||||
/// <reference types="react" />
|
||||
import type { Control, ControlOptions, FeatureGroup, Layer, Path } from 'leaflet';
|
||||
import { type PropsWithChildren } from './component.js';
|
||||
import type { LeafletContextInterface } from './context.js';
|
||||
import { type LeafletElement } from './element.js';
|
||||
import { type LayerProps } from './layer.js';
|
||||
import { type DivOverlay, type DivOverlayLifecycleHook } from './div-overlay.js';
|
||||
import { type PathProps } from './path.js';
|
||||
interface LayerWithChildrenProps extends LayerProps, PropsWithChildren {
|
||||
}
|
||||
interface PathWithChildrenProps extends PathProps, PropsWithChildren {
|
||||
}
|
||||
export declare function createControlComponent<E extends Control, P extends ControlOptions>(createInstance: (props: P) => E): import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<P> & import("react").RefAttributes<E>>;
|
||||
export declare function createLayerComponent<E extends Layer, P extends LayerWithChildrenProps>(createElement: (props: P, context: LeafletContextInterface) => LeafletElement<E>, updateElement?: (instance: E, props: P, prevProps: P) => void): import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<P> & import("react").RefAttributes<E>>;
|
||||
export declare function createOverlayComponent<E extends DivOverlay, P extends LayerWithChildrenProps>(createElement: (props: P, context: LeafletContextInterface) => LeafletElement<E>, useLifecycle: DivOverlayLifecycleHook<E, P>): import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<P> & import("react").RefAttributes<E>>;
|
||||
export declare function createPathComponent<E extends FeatureGroup | Path, P extends PathWithChildrenProps>(createElement: (props: P, context: LeafletContextInterface) => LeafletElement<E>, updateElement?: (instance: E, props: P, prevProps: P) => void): import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<P> & import("react").RefAttributes<E>>;
|
||||
export declare function createTileLayerComponent<E extends Layer, P extends LayerProps>(createElement: (props: P, context: LeafletContextInterface) => LeafletElement<E>, updateElement?: (instance: E, props: P, prevProps: P) => void): import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<P> & import("react").RefAttributes<E>>;
|
||||
export {};
|
||||
Reference in New Issue
Block a user