button
Description
Optional. Adds the "Select" button into a ColorBoardUsage
button?: boolean;
Parameters
true
- adds the Select buttonfalse
- (default) removes the Select button
Example
<ColorBoard value="#65D3B3" button={true} />
Details
It is also possible to add a button into ColorBoard by declaring the property with no value:
<ColorBoard button />
Related article: Adding the "Select" button