Skip to content

Commit eeed80f

Browse files
author
Valentin Hervieu
committed
Address review
1 parent cc27e9f commit eeed80f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/ra-ui-materialui/src/form/SimpleFormIterator.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import classNames from 'classnames';
2121
import { FieldArrayRenderProps } from 'react-final-form-arrays';
2222

2323
import FormInput from './FormInput';
24+
import { ClassesOverride } from '../types';
2425

2526
const useStyles = makeStyles(
2627
theme => ({
@@ -319,7 +320,7 @@ export interface SimpleFormIteratorProps
319320
extends Partial<Omit<FieldArrayRenderProps<any, HTMLElement>, 'meta'>> {
320321
addButton?: ReactElement;
321322
basePath?: string;
322-
classes?: Partial<ReturnType<typeof useStyles>>;
323+
classes?: ClassesOverride<typeof useStyles>;
323324
className?: string;
324325
defaultValue?: any;
325326
disabled?: boolean;

0 commit comments

Comments
 (0)