diff --git a/test/components/previews/sidebar_section_component_preview.rb b/test/components/previews/sidebar_section_component_preview.rb new file mode 100644 index 0000000..0e314ba --- /dev/null +++ b/test/components/previews/sidebar_section_component_preview.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +class SidebarSectionComponentPreview < ViewComponent::Preview + def default + render( + SidebarSectionComponent.new( + title: 'Title', + ) + ) do + content_tag(:span, 'Content') + end + end +end