Skip to content

Commit

Permalink
add a preview for lookbook
Browse files Browse the repository at this point in the history
  • Loading branch information
bsatarnejad committed Nov 20, 2024
1 parent d90c4c0 commit 5dceab8
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# frozen_string_literal: true

module OpenProject::WorkPackages
# @logical_path OpenProject/WorkPackages
class InfoLineComponentPreview < ViewComponent::Preview
def playground
render(WorkPackages::InfoLineComponent.new(id: WorkPackage.visible.pick(:id)))
end
end
end

0 comments on commit 5dceab8

Please sign in to comment.