"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index.cjs38.js"),c=require("react"),r=require("./index.cjs40.js"),s=require("./index.cjs48.js"),k=require("./index.cjs11.js"),d=e=>e.stopPropagation();function m({tag:e,baseTagProps:t}){const l=c.useCallback(n=>{var o;d(n),(o=e.onClick)==null||o.call(e,n)},[e.onClick]),i=c.useCallback(n=>{var o;(n.key==="Enter"||n.key===" ")&&(n.preventDefault(),(o=e.onClick)==null||o.call(e,n))},[e.onClick]);return u.jsxRuntimeExports.jsx(k.Tag,{...t,role:"button",tabIndex:0,onClick:l,onKeyDown:i,className:r(s.default.tagInteractive,t==null?void 0:t.className),children:e.label})}exports.TagGroupItemButton=m;
//# sourceMappingURL=index.cjs94.js.map
