fleeta-components
Version:
A comprehensive React component library for fleet management applications
27 lines • 1.01 kB
TypeScript
/**
* Map style configurations for Mapbox
* Defines different map styles available for the application
*/
export declare const MAP_STYLES: {
readonly streets: "mapbox://styles/mapbox/streets-v12";
readonly satellite: "mapbox://styles/mapbox/satellite-v9";
readonly outdoors: "mapbox://styles/mapbox/outdoors-v12";
readonly light: "mapbox://styles/mapbox/light-v11";
readonly dark: "mapbox://styles/mapbox/dark-v11";
};
/**
* Map style store interface
* Defines the structure for map style state management
*/
export interface MapStyleStore {
/** Current map style */
style: keyof typeof MAP_STYLES;
/** Function to update map style */
setStyle: (style: keyof typeof MAP_STYLES) => void;
}
/**
* Zustand store for managing map style preferences
* Provides centralized state management for map style selection
*/
export declare const useMapStyleStore: import("zustand").UseBoundStore<import("zustand").StoreApi<MapStyleStore>>;
//# sourceMappingURL=useMapStyle.d.ts.map