Class: Shadcn::ToggleGroup::Preview

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

Instance Method Summary collapse

Instance Method Details

#defaultObject



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

def default
  render_with_template
end

#sizesObject

Upstream's "Size" and "Disabled". Its "Vertical" is the other registry's.



11
12
13
# File 'app/components/shadcn/toggle_group/preview.rb', line 11

def sizes
  render_with_template
end