// @ts-ignore import * as React from 'react'; import { ComponentProps } from '../types'; interface BMapResult { lng: number; lat: number; comp: { province: string; city: string; district: string; street: string; streetNumber: string }; compText: string; } export interface BMapProps extends ComponentProps { lng?: number | string; lat?: number | string; // 弹框宽度 width?: number; // 弹框标题 title?: string; // 确认-取消事件 onOk?: (result: BMapResult) => void; // 事件-取消事件 onCancel?: () => void; } export interface BMapFC extends React.FC { } declare const BMap: BMapFC; export default BMap;