Class: Shadcn::InputGroup::Preview

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

Instance Method Summary collapse

Instance Method Details

#addonsObject

Upstream's "Icon", "Kbd", "Dropdown" and "Spinner" — what an addon holds, where the default preview shows where an addon sits.



12
13
14
# File 'app/components/shadcn/input_group/preview.rb', line 12

def addons
  render_with_template
end

#defaultObject



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

def default
  render_with_template
end