-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #6334: typescript definition for Stepper and StepperPanel #6356
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Ignored Deployments
|
@gucal @nitrogenous @mertsincan did we not use Is that why we declare children in most components like this: /**
* Used to get the child elements of the component.
* @readonly
*/
children?: React.ReactNode | undefined; ?? |
@melloware |
nice! |
I've recognized the Stepper does have a ref property and was missing the definition for that. Updated the branch with a proposed solution. I'm not sure about naming and the documentation part, but at least you have a general example of how the typing could work with the ref and custom methods. |
Fix #6334: typescript definition for Stepper and StepperPanel