import { toDomPrecision } from '@bigbluebutton/editor' import classNames from 'classnames' /** @public */ export interface TldrawCropHandlesProps { size: number width: number height: number hideAlternateHandles: boolean } /** @public */ export function TldrawCropHandles({ size, width, height, hideAlternateHandles, }: TldrawCropHandlesProps) { const cropStrokeWidth = toDomPrecision(size / 3) const offset = cropStrokeWidth / 2 return ( {/* Top left */} {/* Top */} {/* Top right */} {/* Right */} {/* Bottom right */} {/* Bottom */} {/* Bottom left */} {/* Left */} ) }