UNPKG

react-canada-map

Version:

react module for an interactive map of Canada

18 lines (17 loc) 410 B
import * as React from "react"; interface Props { onClick: (e: React.MouseEvent) => void; provinceName: string; provinceAbbreviation: string; svgLink?: string; dimensions: string; fillColor: string; onHoverColor?: string; } declare class Province extends React.Component<Props> { state: { isHovered: boolean; }; render(): JSX.Element; } export default Province;