import{j as r,B as i,T as s}from"./index-d9e0bbb9.js";import{T as l}from"./Tooltip-9b2f820e.js";const a=({text:o="",maxWidth:e=100})=>r.jsx(l,{title:o,children:r.jsx(i,{sx:{maxWidth:e,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",cursor:o.length>0?"pointer":"default"},children:r.jsx(s,{variant:"body2",children:o})})});export{a as D};
