Method: Coco::ComponentsHelper#coco_menu_button

Defined in:
app/helpers/coco/components_helper.rb

#coco_menu_button(text = nil) ⇒ Object

[View source]

34
35
36
# File 'app/helpers/coco/components_helper.rb', line 34

def coco_menu_button(text = nil, **, &)
  render(Coco::MenuButton.new(text: text, **), &)
end