Function
FieldError
({ className, ...props }: FieldPrimitive.Error.Props)
Source from the content-addressed store, hash-verified
| 41 | } |
| 42 | |
| 43 | function 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 | |
| 53 | const FieldControl = FieldPrimitive.Control; |
| 54 | const FieldValidity = FieldPrimitive.Validity; |
Callers
nothing calls this directly
Tested by
no test coverage detected