Skip to content

Commit 1a12302

Browse files
committed
fix: fix
1 parent dc25448 commit 1a12302

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import ListContext from './ListContext';
1717

1818
type BaseFormProps = Omit<React.FormHTMLAttributes<HTMLFormElement>, 'onSubmit' | 'children'>;
1919

20-
type RenderProps = (values: Store, form: FormInstance) => JSX.Element | React.ReactNode;
20+
type RenderProps = (values: Store, form: FormInstance) => React.JSX.Element | React.ReactNode;
2121

2222
export interface FormProps<Values = any> extends BaseFormProps {
2323
initialValues?: Store;

src/List.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface ListProps<Values = any> {
2828
fields: ListField[],
2929
operations: ListOperations,
3030
meta: Meta,
31-
) => JSX.Element | React.ReactNode;
31+
) => React.JSX.Element | React.ReactNode;
3232

3333
/** @private Passed by Form.List props. Do not use since it will break by path check. */
3434
isListField?: boolean;

0 commit comments

Comments
 (0)