Files
aso/public/client-portal/assets/TableMoreMenu.fbaa38aa.js
Linksehat Staging Server d125d1bb38 [Production] Build
2024-01-14 12:06:54 +07:00

2 lines
713 B
JavaScript

import{r as n,f as h,F as c,j as o,I as p,q as u,af as d}from"./index.4524613b.js";function f({actions:t,disableRipple:a}){const[r,e]=n.exports.useState(null);n.exports.useEffect(()=>{e(null)},[t]);const i=s=>{e(s.currentTarget)},l=()=>{e(null)};return h(c,{children:[o(p,{onClick:i,disableRipple:a,children:o(u,{icon:"eva:more-vertical-fill",width:20,height:20})}),o(d,{open:Boolean(r),anchorEl:r,onClose:l,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"},arrow:"right-top",sx:{mt:-1,width:"auto",minWidth:160,"& .MuiMenuItem-root":{px:1,typography:"body2",borderRadius:.75,"& svg":{mr:2,width:20,height:20}}},children:t}),"\xA0\xA0\xA0\xA0"]})}export{f as T};