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

Open a component's source file on GitHub #544

Open
cblavier opened this issue Dec 18, 2024 · 0 comments
Open

Open a component's source file on GitHub #544

cblavier opened this issue Dec 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@cblavier
Copy link
Contributor

One should be able to set their GitHub repository in the storybook's settings so that a GitHub button is present in any story's source tab.

The button redirects to GitHub on the main branch of the matching file, anchored at the component's function line.

@cblavier cblavier added the enhancement New feature or request label Dec 18, 2024
@cblavier cblavier changed the title Open source on GitHub Open a component's source file on GitHub Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant