import{r as c,j as e}from"./@radix-DnFH_oo1.js";import{aA as m,aB as g,ay as d,aC as p}from"./index-Davdjm1d.js";const h=c.forwardRef((r,t)=>{const{triggerChildren:a,children:i,onSelect:o,onOpenChange:l,icon:x,...s}=r;return e.jsxs(m,{onOpenChange:l,children:[e.jsx(g,{asChild:!0,children:e.jsx(d,{...s,className:"hover:cursor-pointer",icon:r.icon,ref:t,onSelect:n=>{n.preventDefault(),o&&o()},children:a})}),e.jsx(p,{children:i})]})});h.displayName="AlertDialogItem";export{h as A};
