Files
Web-Frontend/client/src/components/deprecated/CustomResizeHandle.jsx
T

27 lines
599 B
React
Raw Normal View History

2026-06-04 15:30:01 -07:00
import { MoveDiagonal2 } from 'lucide-react';
2025-08-06 12:03:48 -07:00
import React from "react";
const CustomResizeHandle = React.forwardRef((props, ref) => {
const { handleAxis, isVisable, ...restProps } = props;
if (!isVisable) return null;
return (
<div
ref={ref}
{...restProps}
className={`resize-hande-${handleAxis}`}
style={{
position: 'absolute',
bottom: 0,
right: 0,
cursor: "pointer",
width: "20px",
height: "20px",
zIndex: "1",
}}
>
2026-06-04 15:30:01 -07:00
<MoveDiagonal2 />
2025-08-06 12:03:48 -07:00
</div>
);
});
export default CustomResizeHandle;