Class: Shadcn::DropdownMenuGroupComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- Shadcn::DropdownMenuGroupComponent
- Defined in:
- app/components/shadcn/dropdown_menu_group_component.rb
Overview
Dropdown Menu Group component
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
6 7 8 |
# File 'app/components/shadcn/dropdown_menu_group_component.rb', line 6 def call content_tag(:div, content, role: "group", **) end |