Class: Shadcn::MenubarMenuComponent

Inherits:
BaseComponent
  • Object
show all
Defined in:
app/components/shadcn/menubar_menu_component.rb

Overview

Menubar Menu component Individual menu section within a menubar

Instance Attribute Summary

Attributes inherited from BaseComponent

#class_name, #data, #html_options

Instance Method Summary collapse

Methods inherited from BaseComponent

#content, #initialize

Methods included from Rails::Helpers::ClassNameHelper

#cn

Constructor Details

This class inherits a constructor from Shadcn::BaseComponent

Instance Method Details

#callObject



14
15
16
# File 'app/components/shadcn/menubar_menu_component.rb', line 14

def call
  (:div, menu_body, menu_attributes)
end