clear
Description
Optional. Adds the Clear button into a color picker inputUsage
clear?: boolean;
Parameters
true
- the Clear button is added to the color picker inputfalse
- (default) the Color button is not added to the color picker input
Example
<ColorPicker colors={['#65D3B3', '#FFC975', '#58C3FE']} clear />
Related article: Adding the Clear button
Related sample: ColorPicker