You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The system prop that allows defining system overrides as well as additional CSS styles.
111
+
*/
112
+
sx?: SxProps<Theme>;
113
+
/**
114
+
* The component used for the transition.
115
+
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
116
+
* @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
124
+
* @deprecated Use `slotProps.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
125
+
*/
126
+
TransitionProps?: TransitionProps;
127
+
}
128
+
73
129
exporttypeAccordionTypeMap<
74
130
AdditionalProps={},
75
131
RootComponentextendsReact.ElementType='div',
76
132
>=ExtendPaperTypeMap<
77
133
{
78
-
props: AdditionalProps&{
79
-
/**
80
-
* The content of the component.
81
-
*/
82
-
children: NonNullable<React.ReactNode>;
83
-
/**
84
-
* Override or extend the styles applied to the component.
85
-
*/
86
-
classes?: Partial<AccordionClasses>;
87
-
/**
88
-
* If `true`, expands the accordion by default.
89
-
* @default false
90
-
*/
91
-
defaultExpanded?: boolean;
92
-
/**
93
-
* If `true`, the component is disabled.
94
-
* @default false
95
-
*/
96
-
disabled?: boolean;
97
-
/**
98
-
* If `true`, it removes the margin between two expanded accordion items and the increase of height.
99
-
* @default false
100
-
*/
101
-
disableGutters?: boolean;
102
-
/**
103
-
* If `true`, expands the accordion, otherwise collapse it.
104
-
* Setting this prop enables control over the accordion.
105
-
*/
106
-
expanded?: boolean;
107
-
/**
108
-
* Callback fired when the expand/collapse state is changed.
109
-
*
110
-
* @param {React.SyntheticEvent} event The event source of the callback. **Warning**: This is a generic event not a change event.
111
-
* @param {boolean} expanded The `expanded` state of the accordion.
* The system prop that allows defining system overrides as well as additional CSS styles.
116
-
*/
117
-
sx?: SxProps<Theme>;
118
-
/**
119
-
* The component used for the transition.
120
-
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
121
-
* @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
129
-
* @deprecated Use `slotProps.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
0 commit comments