import t,{forwardRef as e}from"react";import o from"../../../../hooks/useGridKeyboardNavigation/useGridKeyboardNavigation.js";import{NOOP as r}from"../../../../utils/function-utils.js";import n from"./ColorPickerClearButton.module.scss.js";import i from"../../../../../components/button/dist/Button/Button.js";var s=e((function(e,s){var a=e.text,l=e.Icon,m=o({ref:s,itemsCount:1,numberOfItemsInLine:1,onItemClicked:e.onClick,getItemByIndex:r}).onSelectionAction;return t.createElement(i,{ref:s,size:"small",kind:"tertiary",onClick:function(){return m(-1)},blurOnMouseUp:!1,className:n.clearColorButton},t.createElement(l,{size:"16",className:n.clearColorIcon}),a||"Clear")}));export{s as default};
//# sourceMappingURL=ColorPickerClearButton.js.map
