Class: Avo::Sidebar::SectionComponent
- Inherits:
-
BaseItemComponent
- Object
- ViewComponent::Base
- BaseItemComponent
- Avo::Sidebar::SectionComponent
- Defined in:
- app/components/avo/sidebar/section_component.rb
Instance Attribute Summary
Attributes inherited from BaseItemComponent
Instance Method Summary collapse
Methods inherited from BaseItemComponent
#collapsable, #collapsed, #initialize, #items, #key
Constructor Details
This class inherits a constructor from Avo::Sidebar::BaseItemComponent
Instance Method Details
#icon ⇒ Object
4 5 6 7 8 |
# File 'app/components/avo/sidebar/section_component.rb', line 4 def icon return nil if item.icon.nil? item.icon end |