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