import{__exports as e}from"../../../_virtual/CloseButton.js";import t from"react";import{p as r}from"../../prop-types/index.js";import{c as a}from"../../classnames/index.js";import"./utils.js";import{__exports as n}from"../../../_virtual/utils.js";!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(t),l=i(r),s=i(a),u=n,f=["className","cssModule","variant","innerRef"];function i(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},c.apply(this,arguments)}function p(e,t){if(null==e)return{};var r,a,n=function(e,t){if(null==e)return{};var r,a,n={},o=Object.keys(e);for(a=0;a<o.length;a++)r=o[a],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var d={active:l.default.bool,"aria-label":l.default.string,onClick:l.default.func,variant:l.default.oneOf(["white"]),className:l.default.string,cssModule:l.default.object,innerRef:l.default.oneOfType([l.default.object,l.default.string,l.default.func])};function b(e){var t=e.className;e.cssModule;var r=e.variant,a=e.innerRef,n=p(e,f),l=(0,u.mapToCssModules)((0,s.default)(t,"btn-close",r&&"btn-close-".concat(r)));return o.default.createElement("button",c({ref:a,type:"button",className:l},n))}b.propTypes=d,b.defaultProps={"aria-label":"close"};var m=b;e.default=m}(e);
//# sourceMappingURL=CloseButton.js.map
