Sha256: 51403fe749ff0ef71b2acef50aab05c7105e16436177bf1245c3f4dfbe0c91eb

Contents?: true

Size: 239 Bytes

Versions: 24

Compression:

Stored size: 239 Bytes

Contents

<%= render component_tag(x: {data: "appMenuButton"}) do %>
  <%= render button do |btn| %>
    <% if menu? %>
      <% btn.with_dropdown do %>
        <%= menu %>
      <% end %>
    <% end %>

    <%= button_text %>
  <% end %>
<% end %>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
coveragebook_components-0.5.3 app/components/coco/app/elements/menu_button/menu_button.html.erb
coveragebook_components-0.5.2 app/components/coco/app/elements/menu_button/menu_button.html.erb
coveragebook_components-0.5.1 app/components/coco/app/elements/menu_button/menu_button.html.erb
coveragebook_components-0.5.0 app/components/coco/app/elements/menu_button/menu_button.html.erb