@kbss-cvut/s-forms
Version:
Semantic forms generator and processor
18 lines (17 loc) • 670 B
TypeScript
export default TextAnnotation;
/**
* Stateless SVG component responsible for rendering a single text annotation.
* Receives fully resolved position, styling, and content from the parent renderer.
* This component performs no normalization, scaling, or time-based logic.
*/
declare function TextAnnotation({ text, fontFamily, fontWeight, opacity, fontSize, x, y, color, lineHeight, }: {
text: any;
fontFamily?: string | undefined;
fontWeight?: number | undefined;
opacity?: number | undefined;
fontSize: any;
x: any;
y: any;
color?: string | undefined;
lineHeight?: number | undefined;
}): import("react/jsx-runtime").JSX.Element;