We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f74748 commit 0b1049dCopy full SHA for 0b1049d
packages/vibrant-components/src/lib/TextField/TextFieldProps.ts
@@ -1,4 +1,4 @@
1
-import type { ForwardedRef } from 'react';
+import type { ForwardedRef, ReactElement } from 'react';
2
import type {
3
AutoCapitalizeOption,
4
AutoCompleteOption,
@@ -18,7 +18,7 @@ export type TextFieldProps = BaseInputProps<string> &
18
state?: 'default' | 'error';
19
label?: string;
20
placeholder?: string;
21
- helperText?: string;
+ helperText?: ReactElement | string;
22
autoFocus?: boolean;
23
maxLength?: number;
24
autoComplete?: AutoCompleteOption;
0 commit comments