Skip to content
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(TabPanel): move react-transition-group functions to metadata in hook #55

Merged
merged 4 commits into from
Mar 17, 2022

Conversation

golota60
Copy link
Contributor

@golota60 golota60 commented Mar 17, 2022

Followup to react-bootstrap/react-bootstrap#6276. Essentially moves react-transition-group functions to meta in useTabPanel hook. Also added a test to make sure it works.

Had to add @types/react-transition-group since the tests are in typescript

Copy link
Collaborator

@kyletsang kyletsang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple comments and we're good 👍

src/TabPanel.tsx Outdated Show resolved Hide resolved
test/TabPanelSpec.tsx Outdated Show resolved Hide resolved
@golota60 golota60 requested a review from kyletsang March 17, 2022 19:27
@kyletsang kyletsang merged commit 60ea5c5 into react-restart:main Mar 17, 2022
@kyletsang
Copy link
Collaborator

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants