Class: Shadcn::ContextMenuContentComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- Shadcn::ContextMenuContentComponent
- Defined in:
- app/components/shadcn/context_menu_content_component.rb
Overview
Context Menu Content component
Constant Summary collapse
- BASE_CLASSES =
"shadcn-context-menu z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md"
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
42 43 44 |
# File 'app/components/shadcn/context_menu_content_component.rb', line 42 def call content_tag(:div, , ) end |