File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import ListContext from './ListContext';
1717
1818type BaseFormProps = Omit < React . FormHTMLAttributes < HTMLFormElement > , 'onSubmit' | 'children' > ;
1919
20- type RenderProps = ( values : Store , form : FormInstance ) => React . JSX . Element | React . ReactNode ;
20+ type RenderProps = ( values : Store , form : FormInstance ) => React . ReactNode ;
2121
2222export interface FormProps < Values = any > extends BaseFormProps {
2323 initialValues ?: Store ;
Original file line number Diff line number Diff line change @@ -24,11 +24,7 @@ export interface ListProps<Values = any> {
2424 rules ?: ValidatorRule [ ] ;
2525 validateTrigger ?: string | string [ ] | false ;
2626 initialValue ?: any [ ] ;
27- children ?: (
28- fields : ListField [ ] ,
29- operations : ListOperations ,
30- meta : Meta ,
31- ) => React . JSX . Element | React . ReactNode ;
27+ children ?: ( fields : ListField [ ] , operations : ListOperations , meta : Meta ) => React . ReactNode ;
3228
3329 /** @private Passed by Form.List props. Do not use since it will break by path check. */
3430 isListField ?: boolean ;
You can’t perform that action at this time.
0 commit comments