-
Notifications
You must be signed in to change notification settings - Fork 30
Add deck component #827
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
Add deck component #827
Conversation
rebeccaalpert
left a comment
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.
Landmarks and articles menus in VoiceOver say "Product onboarding onboarding walkthrough." I'm guessing is is from the combination of these two:
ariaLabel="Product onboarding"
ariaRoleDescription="onboarding walkthrough"
Just small potatoes.
| import Deck, { DeckButton } from '@patternfly/react-component-groups/dist/dynamic/Deck'; | ||
| import { ButtonVariant } from '@patternfly/react-core'; | ||
|
|
||
| export const BasicExample: FunctionComponent = () => { |
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.
| export const BasicExample: FunctionComponent = () => { | |
| export const DeckExample: FunctionComponent = () => { |
|
|
||
| /** | ||
| * extends PatternFly's ButtonProps | ||
| */ |
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.
Are the comments needed?
| variant="small" | ||
| {...modalProps} | ||
| > | ||
| <ModalBody> |
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.
Do we want to pass ModalBodyProps?
|
Thanks @rebeccaalpert I'll open up a clean up issue/PR to address |
|
🎉 This PR is included in version 6.4.0-prerelease.7 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Closes #825
New documentation / examples for the component
Demo of an onboarding modal deck which more closely matches figma designs.