@fleet-frontend/mower-maps
Version:
a mower maps in google maps
22 lines • 581 B
TypeScript
import React from 'react';
export interface CrosshairProps {
/** 是否显示十字准心 */
visible?: boolean;
/** 定位方式:fixed 或 absolute */
position?: 'fixed' | 'absolute';
/** 样式配置 */
style?: {
strokeColor?: string;
strokeWidth?: number;
centerDotColor?: string;
centerDotRadius?: number;
lineLength?: number;
};
}
/**
* 十字准心组件
* 相对于父容器居中显示
*/
declare const Crosshair: React.FC<CrosshairProps>;
export default Crosshair;
//# sourceMappingURL=index.d.ts.map