/opt/canhelp/node_modules/@react-leaflet/core/lib
Edit: /opt/canhelp/node_modules/@react-leaflet/core/lib/component.d.ts (1011B)
import React, { type PropsWithoutRef, type RefObject, type ReactNode } from 'react';
import type { DivOverlay, DivOverlayHook } from './div-overlay.js';
import type { LeafletElement } from './element.js';
type ElementHook
= (props: P) => RefObject>;
export type PropsWithChildren = PropsWithoutRef<{
children?: ReactNode;
}>;
export declare function createContainerComponent(useElement: ElementHook>): React.ForwardRefExoticComponent & React.RefAttributes>;
export declare function createDivOverlayComponent(useElement: ReturnType>>): React.ForwardRefExoticComponent & React.RefAttributes>;
export declare function createLeafComponent(useElement: ElementHook>): React.ForwardRefExoticComponent & React.RefAttributes>;
export {};