strapi-plugin-map-box
Version:
20 lines (19 loc) • 536 B
TypeScript
import { MapBoxValue } from './types';
import 'mapbox-gl/dist/mapbox-gl.css';
interface MapBoxFieldProps {
name: string;
onChange: (event: {
target: {
name: string;
value: object;
type: string;
};
}) => void;
value?: MapBoxValue;
intlLabel?: {
defaultMessage: string;
};
required?: boolean;
}
export declare function MapBoxField({ name, onChange, value, intlLabel, required }: MapBoxFieldProps): import("react/jsx-runtime").JSX.Element;
export {};