import * as React from 'react'; import { A11yTitleType, AlignSelfType, ColorType, FillType, GridAreaType, MarginType, } from '../../utils'; import { DropProps } from '../Drop'; export interface WorldMapProps { a11yTitle?: A11yTitleType; alignSelf?: AlignSelfType; color?: ColorType; continents?: { color?: string | { dark?: string; light?: string }; name: | 'Africa' | 'Asia' | 'Australia' | 'Europe' | 'North America' | 'South America'; onClick?: (name: string) => void; onHover?: (hovered: boolean) => void; }[]; fill?: FillType; gridArea?: GridAreaType; hoverColor?: string | { dark?: string; light?: string }; margin?: MarginType; onSelectPlace?: (place: [number, number]) => void; places?: { color?: string | { dark?: string; light?: string }; content?: React.ReactNode; dropProps?: DropProps; name?: string; location: number[]; onClick?: (name: string) => void; onHover?: (hovered: boolean) => void; }[]; } export interface WorldMapExtendedProps extends WorldMapProps, Omit {} declare const WorldMap: React.FC; export { WorldMap };