Skip to main content
Version: Next

Field

Home > @backstage/canon > Field

Signature:

Field: {
Root: React.ForwardRefExoticComponent<Omit<FieldPrimitive.Root.Props & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
Label: React.ForwardRefExoticComponent<Omit<FieldPrimitive.Label.Props & React.RefAttributes<any>, "ref"> & React.RefAttributes<any>>;
Description: React.ForwardRefExoticComponent<Omit<FieldPrimitive.Description.Props & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
Error: React.ForwardRefExoticComponent<Omit<FieldPrimitive.Error.Props & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
Validity: ({ children, className, ...props }: FieldPrimitive.Validity.Props & {
className?: string | undefined;
}) => React.JSX.Element;
}