Class: Shadcn::Sidebar::Preview
- Inherits:
-
ApplicationViewComponentPreview
- Object
- ViewComponentContrib::Preview::Base
- ApplicationViewComponentPreview
- Shadcn::Sidebar::Preview
- Defined in:
- app/components/shadcn/sidebar/preview.rb
Instance Method Summary collapse
- #default ⇒ Object
-
#floating ⇒ Object
Upstream's
floatingvariant. -
#inset ⇒ Object
Upstream's
insetvariant, for the same reason.
Instance Method Details
#default ⇒ Object
6 7 8 |
# File 'app/components/shadcn/sidebar/preview.rb', line 6 def default render_with_template end |
#floating ⇒ Object
Upstream's floating variant. Its own page: the panel is fixed, so
two of them cannot share one.
12 13 14 |
# File 'app/components/shadcn/sidebar/preview.rb', line 12 def floating render_with_template end |
#inset ⇒ Object
Upstream's inset variant, for the same reason.
17 18 19 |
# File 'app/components/shadcn/sidebar/preview.rb', line 17 def inset render_with_template end |