Class: Shadcn::Item::Preview

Inherits:
ApplicationViewComponentPreview show all
Defined in:
app/components/shadcn/item/preview.rb

Instance Method Summary collapse

Instance Method Details

#defaultObject



6
7
8
# File 'app/components/shadcn/item/preview.rb', line 6

def default
  render_with_template
end

Upstream's "Link", "Avatar" and "Image".



15
16
17
# File 'app/components/shadcn/item/preview.rb', line 15

def link
  render_with_template
end

#outlineObject



10
11
12
# File 'app/components/shadcn/item/preview.rb', line 10

def outline
  render_with_template
end