view_component-contrib
view_component-contrib copied to clipboard
feat: Example specific preview templates
What is the purpose of this pull request?
Add ability to create a separate preview template per example (e.g. my_component/previews/example.html.erb
).
Checklist
- [x] I've added tests for this change
- [x] I've added a Changelog entry
- [x] I've updated a documentation