-
Notifications
You must be signed in to change notification settings - Fork 377
chore(Expandable Section): convert examples to TypeScript #7506
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
Conversation
|
Preview: https://patternfly-react-pr-7506.surge.sh A11y report: https://patternfly-react-pr-7506-a11y.surge.sh |
thatblindgeye
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.
Looks good! Had a minor nitpick below, but it's more personal preference I think and not something I'd block over.
| import { ExpandableSection, Badge } from '@patternfly/react-core'; | ||
| import CheckCircleIcon from '@patternfly/react-icons/dist/esm/icons/check-circle-icon'; | ||
|
|
||
| export const ExpandableSectionCustom: React.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.
Nitpick: the file name + exported name could instead be ExpandableSectionCustomToggle to provide more context of the example.
jenny-s51
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.
Thank you @thatblindgeye! Renamed the custom toggle demo per your feedback
thatblindgeye
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.
🎉 Approving again for the latest update
|
Your changes have been released in:
Thanks for your contribution! 🎉 |
What: Closes #7455