Skip to content

Commit

Permalink
Add AccountNavComponentPreview
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislo committed Dec 11, 2024
1 parent 47f599a commit 53b6bea
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/components/previews/account_nav_component_preview.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# frozen_string_literal: true

class AccountNavComponentPreview < ViewComponent::Preview
def default
render(
AccountNavComponent.new(
user: User.new
)
)
end
end

0 comments on commit 53b6bea

Please sign in to comment.