We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc27e9f commit eeed80fCopy full SHA for eeed80f
packages/ra-ui-materialui/src/form/SimpleFormIterator.tsx
@@ -21,6 +21,7 @@ import classNames from 'classnames';
21
import { FieldArrayRenderProps } from 'react-final-form-arrays';
22
23
import FormInput from './FormInput';
24
+import { ClassesOverride } from '../types';
25
26
const useStyles = makeStyles(
27
theme => ({
@@ -319,7 +320,7 @@ export interface SimpleFormIteratorProps
319
320
extends Partial<Omit<FieldArrayRenderProps<any, HTMLElement>, 'meta'>> {
321
addButton?: ReactElement;
322
basePath?: string;
- classes?: Partial<ReturnType<typeof useStyles>>;
323
+ classes?: ClassesOverride<typeof useStyles>;
324
className?: string;
325
defaultValue?: any;
326
disabled?: boolean;
0 commit comments