We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 23ca528 + e93dbf3 commit 3f98b38Copy full SHA for 3f98b38
1 file changed
packages/components/src/ui/text-field.tsx
@@ -54,7 +54,7 @@ export const FieldSuffix = ({
54
export interface TextInputProps extends Omit<InputProps, 'prefix' | 'suffix'> {
55
control?: Control<FieldValues>;
56
name: FieldPath<FieldValues>;
57
- label?: string;
+ label?: string | React.ReactNode;
58
description?: string;
59
components?: Partial<FieldComponents> & {
60
Input?: React.ComponentType<InputProps & React.RefAttributes<HTMLInputElement>>;
0 commit comments