Download src/components/slide-renderer/Editor/Canvas/Operate/RotateHandler.tsx from muthuk1/OpenMAIC-React: direct link, hf CLI and curl.
- Browser
- Download file 517 Bytes
-
https://huggingface.co/muthuk1/OpenMAIC-React/resolve/main/src/components/slide-renderer/Editor/Canvas/Operate/RotateHandler.tsx
- Command line
-
hf download hf://muthuk1/OpenMAIC-React/src/components/slide-renderer/Editor/Canvas/Operate/RotateHandler.tsx
-
curl -L -o RotateHandler.tsx https://huggingface.co/muthuk1/OpenMAIC-React/resolve/main/src/components/slide-renderer/Editor/Canvas/Operate/RotateHandler.tsx
517 Bytes
| interface RotateHandlerProps { | |
| readonly style?: React.CSSProperties; | |
| readonly className?: string; | |
| readonly onMouseDown?: (e: React.MouseEvent) => void; | |
| } | |
| export function RotateHandler({ style, className, onMouseDown }: RotateHandlerProps) { | |
| return ( | |
| <div | |
| className={`rotate-handler absolute w-[10px] h-[10px] -top-[25px] -ml-[5px] border border-primary bg-white rounded-[1px] cursor-grab active:cursor-grabbing ${className || ''}`} | |
| style={style} | |
| onMouseDown={onMouseDown} | |
| /> | |
| ); | |
| } | |