Class: Shadcn::SidebarContentComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- Shadcn::SidebarContentComponent
- Defined in:
- app/components/shadcn/sidebar_content_component.rb
Overview
SidebarContent component - scrollable content area for sidebar
Constant Summary collapse
- BASE_CLASSES =
"flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden"
Instance Attribute Summary
Attributes inherited from BaseComponent
#class_name, #data, #html_options
Instance Method Summary collapse
Methods inherited from BaseComponent
Methods included from Rails::Helpers::ClassNameHelper
Constructor Details
This class inherits a constructor from Shadcn::BaseComponent
Instance Method Details
#call ⇒ Object
12 13 14 |
# File 'app/components/shadcn/sidebar_content_component.rb', line 12 def call content_tag(:div, content_structure, content_attributes) end |