You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
Find a way to mock navigation (some buttons will navigate on click, e.g. OptionsSideMenu)
Find a way to mock useParams (some components rely on useParams hook to render correctly e.g. Post page, but useParams does not work with storybook out-of-the-box)
The text was updated successfully, but these errors were encountered:
christopherlim98
changed the title
Storybook: create mock for react-router-dom
[Storybook] create mock for react-router-dom
Jan 3, 2022
christopherlim98
changed the title
[Storybook] create mock for react-router-dom
[Storybook] Create mock for react-router-dom
Jan 3, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
OptionsSideMenu
)Post
page, butuseParams
does not work with storybook out-of-the-box)The text was updated successfully, but these errors were encountered: