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

Feature/return button component #51

Merged
merged 5 commits into from
Jul 19, 2024
Merged

Conversation

GabrielCollares
Copy link
Contributor

closes #42

Copy link

render bot commented Jul 18, 2024

Comment on lines +5 to +20
export default {
title: 'Components/ReturnButton',
component: ReturnButton,
decorators: [withRouter]
} as Meta;

export const Default = {
parameters: {
reactRouter: reactRouterParameters({
routing: {
path: '/',
handle: 'Home Page',
}
})
}
}
Copy link
Contributor

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

Link to Storybook Doc

Copy link
Contributor

@jv-farias jv-farias left a comment

Choose a reason for hiding this comment

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

Nice!

@jv-farias jv-farias merged commit 5f4b90b into main Jul 19, 2024
3 of 4 checks passed
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.

Feat: button return component
2 participants