const EllipsisDiv = ({ text }: { text: string }) => { return ( <div title={text} className="overflow-hidden whitespace-no-wrap overflow-ellipsis whitespace-nowrap" > {text} </div> ); }; export default EllipsisDiv;