19 lines
		
	
	
		
			456 B
		
	
	
	
		
			TypeScript
		
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			456 B
		
	
	
	
		
			TypeScript
		
	
	
| import type { FC } from "react";
 | |
| 
 | |
| export interface MapSelectorProps {
 | |
|   /** 是否显示弹窗 */
 | |
|   visible: boolean;
 | |
|   /** 关闭弹窗回调 */
 | |
|   onClose: () => void;
 | |
|   /** 经度值 */
 | |
|   longitude?: number | string;
 | |
|   /** 纬度值 */
 | |
|   latitude?: number | string;
 | |
|   /** 确认选择回调 */
 | |
|   onConfirm?: (longitude: number | string, latitude: number | string) => void;
 | |
| }
 | |
| 
 | |
| declare const MapSelector: FC<MapSelectorProps>;
 | |
| 
 | |
| export default MapSelector;
 |