Skip to content

[Stepper] Expanded prop missing from typescript #19869

@countableSet

Description

@countableSet
  • 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:

  1. Create a stepper component
  2. Add a step
  3. Try to add prop expanded
  4. 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

No one assigned

    Labels

    good first issueGreat for first contributions. Enable to learn the contribution process.scope: stepperChanges related to the stepper.typescript

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions