Add Leaflet and react-leaflet dependencies for interactive map functionality Extend DDDepot type with optional latitude/longitude fields for map markers Update site metadata and admin settings page text Add client-side DepotMap component to render depot locations Update PocketBase admin token in environment configuration
3 lines
269 B
TypeScript
3 lines
269 B
TypeScript
import { Control, type ControlOptions } from 'leaflet';
|
|
import type { ElementHook } from './element.js';
|
|
export declare function createControlHook<E extends Control, P extends ControlOptions>(useElement: ElementHook<E, P>): (props: P) => ReturnType<ElementHook<E, P>>;
|