-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
good first issueGreat for first contributions. Enable to learn the contribution process.Great for first contributions. Enable to learn the contribution process.scope: stepperChanges related to the stepper.Changes related to the stepper.typescript
Description
- 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 😯
Looks like a new prop was added to the stepper component for expanding steps, however, looks like it's missing from the typescript definition.
caused by;
#19200
missing from ts definition;
https://github.com/mui-org/material-ui/blob/49e1adf94bfe383ce819dce121f910a5c47bafbf/packages/material-ui/src/Step/Step.d.ts
Expected Behavior 🤔
Should be able to override the expanded prop in typescript.
Steps to Reproduce 🕹
https://codesandbox.io/s/frosty-darkness-tgcqu
Steps:
- Create a stepper component
- Add a step
- Try to add prop expanded
- Doesn't find it
Context 🔦
Your Environment 🌎
| Tech | Version |
|---|---|
| Material-UI | v4.9.4 |
| React | 16.9.11 |
| Browser | Firefox 72.0.2 |
| TypeScript | 3.7.2 |
Metadata
Metadata
Assignees
Labels
good first issueGreat for first contributions. Enable to learn the contribution process.Great for first contributions. Enable to learn the contribution process.scope: stepperChanges related to the stepper.Changes related to the stepper.typescript