react-bkoi-gl
Version:
React components for Barikoi GL JS
12 lines (11 loc) • 459 B
TypeScript
import * as React from "react";
import type { ControlPosition, ScaleControlOptions } from "../types/lib";
export type ScaleControlProps = ScaleControlOptions & {
unit?: string;
maxWidth?: number;
/** Placement of the control relative to the map. */
position?: ControlPosition;
/** CSS style override, applied to the control's container */
style?: React.CSSProperties;
};
export declare const ScaleControl: React.FC<ScaleControlProps>;