Skip to content

Commit fa54f31

Browse files
GAUNSDclaude
andcommitted
chore: PR feedback
- Add missing onClose handler to ModalAnimated example - Add missing onClose handler to ModalAnimatedProvider example Generated-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent df1305e commit fa54f31

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

packages/react-core/src/components/Modal/examples/ModalAnimated.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export const ModalAnimated: React.FunctionComponent = () => {
1717
hasAnimations
1818
variant={ModalVariant.large}
1919
isOpen={isModalOpen}
20+
onClose={handleModalToggle}
2021
aria-labelledby="modal-animated-label"
2122
aria-describedby="modal-animated-description"
2223
elementToFocus="#modal-animated-confirm-button"

packages/react-core/src/components/Modal/examples/ModalAnimatedProvider.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export const ModalAnimatedProvider: React.FunctionComponent = () => {
2525
<Modal
2626
variant={ModalVariant.large}
2727
isOpen={isModalOpen}
28+
onClose={handleModalToggle}
2829
aria-labelledby="modal-animated-provider-label"
2930
aria-describedby="modal-animated-provider-description"
3031
elementToFocus="#modal-animated-provider-confirm-button"

0 commit comments

Comments
 (0)