Skip to content

Commit 0b1049d

Browse files
authored
fix: helper text 의 type을 수정한다. (#880)
fix: helper text can be element
1 parent 0f74748 commit 0b1049d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/vibrant-components/src/lib/TextField/TextFieldProps.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { ForwardedRef } from 'react';
1+
import type { ForwardedRef, ReactElement } from 'react';
22
import type {
33
AutoCapitalizeOption,
44
AutoCompleteOption,
@@ -18,7 +18,7 @@ export type TextFieldProps = BaseInputProps<string> &
1818
state?: 'default' | 'error';
1919
label?: string;
2020
placeholder?: string;
21-
helperText?: string;
21+
helperText?: ReactElement | string;
2222
autoFocus?: boolean;
2323
maxLength?: number;
2424
autoComplete?: AutoCompleteOption;

0 commit comments

Comments
 (0)