Skip to content

Commit e2828fd

Browse files
Update FormTypes.ts
This will hopefully fix that the hint text can be string as well as an element (which is supported).
1 parent 95c2c41 commit e2828fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/types/FormTypes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export interface FormElementProps {
1414
'labelProps'?: LabelProps;
1515
'error'?: string;
1616
'errorProps'?: ErrorMessageProps;
17-
'hint'?: string;
17+
'hint'?: React.ReactNode;
1818
'hintProps'?: HintTextProps;
1919
'formGroupProps'?: ComponentPropsWithRef<'div'> & {
2020
'data-module'?: string;

0 commit comments

Comments
 (0)