zy-react-library/components/Map/index.d.ts

24 lines
577 B
TypeScript
Raw Normal View History

import type { FC } from "react";
export interface MapProps {
/** 经度属性名,默认 longitude */
longitudeProps?: string;
/** 纬度属性名,默认 latitude */
latitudeProps?: string;
/** 经纬度是否必填,默认 true */
required?: boolean;
2025-11-08 09:44:00 +08:00
/** 所属区域 */
area?: string;
/** 是否显示所属区域 */
showArea?: boolean;
/** 确认选择回调 */
onConfirm?: (longitude: number | string, latitude: number | string, extra: { area: string }) => void;
}
2025-11-08 09:44:00 +08:00
/**
*
*/
declare const Map: FC<MapProps>;
export default Map;