UNPKG

geostyler

Version:
17 lines (16 loc) 725 B
import { default as React } from 'react'; import { SwitchProps } from 'antd'; import { FunctionUIProps } from '../../FunctionUI/FunctionUI'; import { Expression, GeoStylerBooleanFunction } from 'geostyler-style'; export interface BooleanExpressionInputProps { value?: Expression<boolean>; switchProps?: Omit<SwitchProps, 'checked' | 'onChange' | 'className'>; functionUiProps?: FunctionUIProps<GeoStylerBooleanFunction>; labelOn?: string; labelOff?: string; onChange?: (newValue: Expression<boolean>) => void; onCancel?: (type: 'boolean') => void; className?: string; } export declare const BooleanExpressionInput: React.FC<BooleanExpressionInputProps>; export default BooleanExpressionInput;