Class: Shadcn::MenubarSeparatorComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- Shadcn::MenubarSeparatorComponent
- Defined in:
- app/components/shadcn/menubar_separator_component.rb
Overview
Menubar Separator component Visual separator between menu items
Constant Summary collapse
- BASE_CLASSES =
"-mx-1 my-1 h-px bg-muted"
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
9 10 11 |
# File 'app/components/shadcn/menubar_separator_component.rb', line 9 def call content_tag(:div, "", separator_attributes) end |