Class: Shadcn::SidebarMenuSubItemComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- Shadcn::SidebarMenuSubItemComponent
- Defined in:
- app/components/shadcn/sidebar_menu_sub_item_component.rb
Overview
SidebarMenuSubItem component - submenu item
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
10 11 12 |
# File 'app/components/shadcn/sidebar_menu_sub_item_component.rb', line 10 def call content_tag(:li, item_content, item_attributes) end |