UNPKG

geostyler

Version:
11 lines (10 loc) 488 B
import { GeoStylerFunction } from 'geostyler-style'; export type Type = 'string' | 'number' | 'boolean' | 'unknown'; export interface FunctionUIProps<T extends GeoStylerFunction> { type: Type; value?: T; parentKey?: string; onChange?: (newValue: T) => void; onCancel?: (type: Type) => void; } export declare const FunctionUI: <T extends GeoStylerFunction>({ value, onChange, parentKey, type, onCancel }: FunctionUIProps<T>) => import("react/jsx-runtime").JSX.Element;