import { BoundingBox } from "@phosphor-icons/react"; import type { Rect } from "@core/geometry"; import { BottomControlDivider } from "./Divider"; import { bottomControlIconSlotClass, bottomControlLabelClass, bottomControlValueClass } from "./styles"; export type TransformControlsProps = { bounds: Rect; }; export function TransformControls({ bounds }: TransformControlsProps) { return (
X {Math.round(bounds.x)} Y {Math.round(bounds.y)} W {Math.round(bounds.w)} H {Math.round(bounds.h)}
); }