Class: Shadcn::SidebarGroupComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- Shadcn::SidebarGroupComponent
- Defined in:
- app/components/shadcn/sidebar_group_component.rb
Overview
SidebarGroup component - groups related sidebar items
Constant Summary collapse
- BASE_CLASSES =
"relative flex w-full min-w-0 flex-col p-2"
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
18 19 20 |
# File 'app/components/shadcn/sidebar_group_component.rb', line 18 def call content_tag(:div, group_content_structure, group_attributes) end |