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

🐛 SideBar: fixed button and toggle ref #2650

Merged
merged 4 commits into from
Nov 10, 2022

Conversation

oddvernes
Copy link
Collaborator

resolves #2649

The ForwardRefExoticComponent type was not needed and made typescript reject adding ref to SideBar.Button and SideBar.Toggle
Also added a Menu to the SideBar "with button" story as this is what amplify is doing, and requires the button ref to work

@oddvernes
Copy link
Collaborator Author

I am getting circular dependencies warnings for sidebar when running build (also in develop so not related to these changes) so I'll try and resolve that as well

Copy link
Contributor

@denektenina denektenina left a comment

Choose a reason for hiding this comment

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

LGTM

@oddvernes oddvernes merged commit 5866a94 into develop Nov 10, 2022
@oddvernes oddvernes deleted the fix/OOVE-2649-sidebar-button-and-toggle-ref branch November 10, 2022 11:28
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.

Sidebar: fix button ref
2 participants