Skip to content

Commit

Permalink
Merge pull request #5890 from ValentinH/patch-2
Browse files Browse the repository at this point in the history
[Typescript] Add missing classes prop on SimpleFormIterator
  • Loading branch information
djhi committed Feb 11, 2021
2 parents e0de8c3 + eeed80f commit 617a4b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ra-ui-materialui/src/form/SimpleFormIterator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import classNames from 'classnames';
import { FieldArrayRenderProps } from 'react-final-form-arrays';

import FormInput from './FormInput';
import { ClassesOverride } from '../types';

const useStyles = makeStyles(
theme => ({
Expand Down Expand Up @@ -319,6 +320,7 @@ export interface SimpleFormIteratorProps
extends Partial<Omit<FieldArrayRenderProps<any, HTMLElement>, 'meta'>> {
addButton?: ReactElement;
basePath?: string;
classes?: ClassesOverride<typeof useStyles>;
className?: string;
defaultValue?: any;
disabled?: boolean;
Expand Down

0 comments on commit 617a4b2

Please sign in to comment.