-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
breaking changeIntroduces changes that are not backward compatible.Introduces changes that are not backward compatible.good first issueGreat for first contributions. Enable to learn the contribution process.Great for first contributions. Enable to learn the contribution process.scope: accordionChanges related to the accordion.Changes related to the accordion.typescript
Milestone
Description
When I try to customize the classes of a transition component in a Material UI Accordion typescript complains about the missing classes property.
- The issue is present in the latest release.
- I have searched the issues of this repository and believe that this is not a duplicate.
Current Behavior 😯
Typescript complains when I try to customize the classes of a transition component in a Accordion.
Expected Behavior 🤔
Typescript shouldn't complain since customization of classes works.
Steps to Reproduce 🕹
https://codesandbox.io/s/sad-proskuriakova-j8432?file=/demo.tsx
Steps:
- Add an Accordion
- Try to customize the classes of the Transition component using TransitionProps={{ classes: { container: classes.transitionContainer } }}
- Typescript definition does not contain a definition for classes.
Context 🔦
I am trying to customize the classes of a transition component in an Accordion.
Your Environment 🌎
| Tech | Version |
|---|---|
| "@material-ui/core": "^4.11.0", | |
| "react": "^16.13.1", | |
| Browser Chrome | |
| "typescript": "^3.9.6" |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
breaking changeIntroduces changes that are not backward compatible.Introduces changes that are not backward compatible.good first issueGreat for first contributions. Enable to learn the contribution process.Great for first contributions. Enable to learn the contribution process.scope: accordionChanges related to the accordion.Changes related to the accordion.typescript