react-rwanda-map
Version:
An interactive and customizable map of Rwanda for React applications.
29 lines (23 loc) • 528 B
TypeScript
/**
* @license
* author: Your Name
* react-rwanda-map v1.0.0
*
* Released under the MIT License.
*/
import React from 'react';
interface RwandaMapProps {
selectedColor?: string;
defaultColor?: string;
strokeColor?: string;
height?: number;
scale?: number;
position?: {
x: number;
y: number;
};
onProvinceSelect?: (province: string | null) => void;
provinceNameColor?: string;
}
declare const RwandaMap: React.FC<RwandaMapProps>;
export { RwandaMap };