mmr-gl-react
Version:
React components for MMR GL JS-compatible libraries
12 lines (11 loc) • 630 B
TypeScript
import * as React from 'react';
import type { ControlPosition, NavigationControlInstance } from '../types';
export type NavigationControlProps<OptionsT> = OptionsT & {
/** Placement of the control relative to the map. */
position?: ControlPosition;
/** CSS style override, applied to the control's container */
style?: React.CSSProperties;
};
declare function NavigationControl<NavigationControlOptions, ControlT extends NavigationControlInstance>(props: NavigationControlProps<NavigationControlOptions>): null;
declare const _default: React.MemoExoticComponent<typeof NavigationControl>;
export default _default;