view_component-storybook
view_component-storybook copied to clipboard
Preview source feature
Storybook comes with handy code previews, is it possible to automatically generate those?
It's possible to render source preview with view_component https://github.com/github/view_component/blob/main/app/views/view_components/preview.html.erb#L7-L9
Can you tell me if it's as well possible to add those source previews and if so how to do it?
Storybook storysource or something like it is an issue we're discussing on the Storybook team and how to integrate it with CSF3 etc.
Would love to see this as well :)!
Do you have any update from the Storybook team ? Currently it's the one last feature that's missing my team to use this gem ! Tell me if I can help :)