diff --git a/test/components/previews/account_nav_component_preview.rb b/test/components/previews/account_nav_component_preview.rb new file mode 100644 index 00000000..9a3c07f3 --- /dev/null +++ b/test/components/previews/account_nav_component_preview.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +class AccountNavComponentPreview < ViewComponent::Preview + def default + render( + AccountNavComponent.new( + user: User.new + ) + ) + end +end