-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/return button component #51
Conversation
…into feature/return-button-component
Your Render PR Server URL is https://fend-day-agenda-pr-51.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-cqclc13gbbvc73bo8bag. |
export default { | ||
title: 'Components/ReturnButton', | ||
component: ReturnButton, | ||
decorators: [withRouter] | ||
} as Meta; | ||
|
||
export const Default = { | ||
parameters: { | ||
reactRouter: reactRouterParameters({ | ||
routing: { | ||
path: '/', | ||
handle: 'Home Page', | ||
} | ||
}) | ||
} | ||
} |
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.
In this case I followed the documentation to integrate react-router with storybook using decorators
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.
Nice!
closes #42