UNPKG

geostyler

Version:
16 lines (15 loc) 601 B
import { default as React } from 'react'; import { GeoStylerFunction } from 'geostyler-style'; export type FunctionType = 'string' | 'number' | 'boolean' | 'unknown'; export interface FunctionNameComboProps { type?: FunctionType; value?: GeoStylerFunction['name'] | undefined; onChange?: (functionName: GeoStylerFunction['name']) => void; onCancel?: (type: FunctionType) => void; size?: 'large' | 'middle' | 'small'; } /** * Combobox offering the geostyler functions. */ export declare const FunctionNameCombo: React.FC<FunctionNameComboProps>; export default FunctionNameCombo;