mirror of
https://github.com/sstent/aicyclingcoach-go.git
synced 2026-01-28 01:52:41 +00:00
sync
This commit is contained in:
10
node_modules/@react-leaflet/core/lib/element.d.ts
generated
vendored
10
node_modules/@react-leaflet/core/lib/element.d.ts
generated
vendored
@@ -1,10 +0,0 @@
|
||||
import { type MutableRefObject } from 'react';
|
||||
import type { LeafletContextInterface } from './context.js';
|
||||
export declare type LeafletElement<T, C = any> = Readonly<{
|
||||
instance: T;
|
||||
context: LeafletContextInterface;
|
||||
container?: C | null;
|
||||
}>;
|
||||
export declare function createElementObject<T, C = any>(instance: T, context: LeafletContextInterface, container?: C | null): LeafletElement<T, C>;
|
||||
export declare type ElementHook<E, P> = (props: P, context: LeafletContextInterface) => MutableRefObject<LeafletElement<E>>;
|
||||
export declare function createElementHook<E, P, C = any>(createElement: (props: P, context: LeafletContextInterface) => LeafletElement<E>, updateElement?: (instance: E, props: P, prevProps: P) => void): (props: P, context: LeafletContextInterface) => ReturnType<ElementHook<E, P>>;
|
||||
Reference in New Issue
Block a user