import { Resizable } from 'react-resizable'; const ResizableTitle = (props: Record) => { const { onResize, width, ...restProps } = props; const { className, ...rest } = restProps; if (!width) { return ; } return ( e.stopPropagation()} /> } onResize={onResize} draggableOpts={{ enableUserSelectHack: false }} > ); }; export default ResizableTitle;