{
onChange(colorToHexWithAlpha(color));
void handleSubmit(onSubmit)();
}}
color={{ hex: value || '#000' }}
presetColors={COLORS}
style={{ boxShadow: 'none' }}
/>
);
}}
/>
contour Levels [ min - max ]
{
const { value, onChange } = field;
return (
{
onChange(e);
debounceOnSubmit(onSubmit);
}}
value={value}
showTrackFill
progressColor={progressColor}
/>
);
}}
/>
number of Layers
{
return (
{
field.onChange(valueAsNumber);
void handleSubmit(onSubmit)();
}}
intent={!isValid(field.name) ? 'danger' : 'none'}
style={{ width: 60 }}
min={0}
debounceTime={250}
/>
);
}}
/>
>
);
}