-
Notifications
You must be signed in to change notification settings - Fork 373
chore(Wizard): updated API for WizardBody and docs for footer #10637
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
Changes from all commits
6367276
b2133b5
3d92701
2b63af4
0039825
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,8 +16,8 @@ export interface WizardStepProps { | |
| id: string | number; | ||
| /** Optional for when the step is used as a parent to sub-steps */ | ||
| children?: React.ReactNode | undefined; | ||
| /** Props for WizardBody that wraps content by default. Can be set to null for exclusion of WizardBody. */ | ||
| body?: Omit<Omit<WizardBodyProps, 'children'>, 'children'> | null; | ||
| /** Props for WizardBody that wraps content by default. */ | ||
| body?: Omit<Omit<WizardBodyProps, 'children'>, 'children'>; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should the prop also be marked as required so that
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it being optional should be fine. I'll try locally, but the logic in WizardToggle checks whether
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just to clarify, the |
||
| /** Optional list of sub-steps */ | ||
| steps?: React.ReactElement<WizardStepProps>[]; | ||
| /** Flag to disable the step's navigation item */ | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tlabaj I believe we had said that for v6 we wanted to make this the default, rather than an opt in, correct? If that's still the case then we could remove the example that shows this functionality, as well as update failing integration tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that is what was discussed for accessibility purposes