geostyler
Version:
Framework for styling geodata
13 lines (12 loc) • 441 B
TypeScript
import { default as React } from 'react';
import { ColorPickerProps } from 'antd';
import { Expression } from 'geostyler-style';
export interface ColorFieldProps extends Omit<ColorPickerProps, 'onChange' | 'value' | 'defaultValue'> {
value?: Expression<string>;
onChange?: (color: Expression<string>) => void;
defaultValue?: Expression<string>;
}
/**
* ColorField
*/
export declare const ColorField: React.FC<ColorFieldProps>;