1 import React, { useEffect, useRef } from 'react';
3 import { useFloatingEllipsisEventBasedUpdater } from './hooks';
5 const FloatingEllipsis = ({ visibilityControlRef }: { visibilityControlRef: React.RefObject<HTMLDivElement> }) => {
6 const elem = useRef<HTMLDivElement>(null);
8 const updateVisibility = useFloatingEllipsisEventBasedUpdater({
16 return <div className="floating-ellipsis floating-ellipsis-hidden" ref={elem}></div>;
19 export default FloatingEllipsis;