UNPKG

geostyler

Version:
24 lines (23 loc) 973 B
import { default as React } from 'react'; export interface AttributeComboProps { /** Set true to hide the attribute's type in the select options */ hideAttributeType?: boolean; /** * A custom filter function which is passed each attribute. * Should return true to accept each attribute or false to reject it. */ attributeNameFilter?: (attrName: string) => boolean; /** Mapping function for attribute names of this combo */ attributeNameMappingFunction?: (originalAttributeName: string) => string; /** Validation status */ validateStatus?: 'success' | 'warning' | 'error' | 'validating'; /** Callback function for onChange */ onAttributeChange?: ((newAttrName: string) => void); /** Value set to the field */ value?: string | undefined; size?: 'large' | 'middle' | 'small'; } /** * Combobox offering the attributes to be filtered on. */ export declare const AttributeCombo: React.FC<AttributeComboProps>;