Files
NODEDC_DESIGN_GUIDELINE/packages/ui-react/src/SceneAnnotation.tsx
T

8 lines
461 B
TypeScript

import {forwardRef} from "react";
import {Button,type ButtonProps} from "./Button.js";
import {cn} from "./cn.js";
/** Screen-projected data anchored to a real scene object; coordinates belong to the renderer. */
export const SceneAnnotation=forwardRef<HTMLButtonElement,ButtonProps>(function SceneAnnotation({className,...props},ref){
return <Button {...props} ref={ref} variant="ghost" size="dense" className={cn("nodedc-scene-annotation",className)}/>;
});