Skip to content

Annotation

Use an annotation in code, not declaring a new annotation. For instance, use this if you want to annotate a method with ‘@Override’.

import { Annotation } from "@alloy-js/java";
<Annotation type={Children} value={Record<string, Children>} />

Props

typeChildren
valueoptionalRecord<string, Children>