Class: Shadcn::AspectRatio::Preview

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

Instance Method Summary collapse

Instance Method Details

#defaultObject



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

def default
  render_with_template
end

#ratiosObject

Upstream's "Square" and "Portrait", beside the default's 16/9.



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

def ratios
  render_with_template
end