We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 230bc9a commit 6e58a65Copy full SHA for 6e58a65
packages/react-form/src/Form.tsx
@@ -25,7 +25,7 @@ export interface FormState {
25
26
export interface FormFieldsProps<T> extends Omit<FormItemProps<T>, 'children'> {
27
name?: string;
28
- children?: (handle: FormChildrenProps) => JSX.Element;
+ children?: ((handle: FormChildrenProps) => JSX.Element) | JSX.Element;
29
help?: React.ReactNode;
30
labelFor?: string;
31
inline?: boolean;
0 commit comments