Skip to content

Commit 36c90d8

Browse files
committed
Add props for composite props
1 parent 7430acf commit 36c90d8

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

packages/mui-component-mapper/src/files/field-array.d.ts

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ReactNode } from "react";
22
import { FieldArrayField } from "@data-driven-forms/react-form-renderer";
3-
import { FormControlProps, GridProps } from "@material-ui/core";
3+
import { FormControlProps, GridProps, ButtonProps, FormHelperTextProps, TypographyProps } from "@material-ui/core";
44

55
export interface FieldArrayButtonLabels {
66
add?: ReactNode;
@@ -18,6 +18,22 @@ export interface FieldArrayProps {
1818
FormControlProps?: FormControlProps;
1919
FormFieldGridProps?: GridProps;
2020
buttonLabels?: FieldArrayButtonLabels;
21+
GridContainerProps: GridProps;
22+
HeaderGridProps: GridProps;
23+
HeaderProps: TypographyProps;
24+
UndoButtonProps: ButtonProps;
25+
RedoButtonProps: ButtonProps;
26+
AddButtonProps: ButtonProps;
27+
DescriptionGridProps: GridProps;
28+
DescriptionProps: TypographyProps;
29+
BodyGridProps: GridProps;
30+
NoItemsProps: TypographyProps;
31+
FormHelperTextGridProps: GridProps;
32+
FormHelperTextProps: FormHelperTextProps;
33+
FieldContainerProps: GridProps;
34+
FieldGroupGridProps: GridProps;
35+
RemoveButtonGridProps: GridProps;
36+
RemoveButtonProps: ButtonProps;
2137
}
2238

2339
declare const FieldArray: React.ComponentType<FieldArrayProps>;

0 commit comments

Comments
 (0)