MCPcopy Create free account
hub / github.com/bytebase/dbhub / FieldError

Function FieldError

frontend/src/components/ui/field.tsx:43–51  ·  view source on GitHub ↗
({ className, ...props }: FieldPrimitive.Error.Props)

Source from the content-addressed store, hash-verified

41}
42
43function FieldError({ className, ...props }: FieldPrimitive.Error.Props) {
44 return (
45 <FieldPrimitive.Error
46 className={cn("text-destructive-foreground text-xs", className)}
47 data-slot="field-error"
48 {...props}
49 />
50 );
51}
52
53const FieldControl = FieldPrimitive.Control;
54const FieldValidity = FieldPrimitive.Validity;

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected