@dkkoval/react-md-stats-map
Version:
A React component for visualizing data on a map of Moldova by raion.
15 lines (14 loc) • 463 B
TypeScript
import { RaionCode } from '@/types';
import { MapStyle, ThresholdColor } from '@dkkoval/react-stats-map';
export interface MDMapProps {
width: number;
height: number;
data: Record<RaionCode, number>;
valueName: string;
title: string;
hideLegend?: boolean;
hideTitle?: boolean;
mapStyle?: MapStyle;
thresholdColors?: ThresholdColor[];
}
export declare function MDMap(props: MDMapProps): import("react/jsx-runtime").JSX.Element;