Sha256: 79a0a7317515433f90e03df5686f23e4ae9723dd0582b43f1e1bd88f26743db9

Contents?: true

Size: 432 Bytes

Versions: 16

Compression:

Stored size: 432 Bytes

Contents

<%= lookbook_render button_component.new(
  id: id,
  icon: icon,
  **button_attrs,
  "@keydown.esc.stop": "hideDropdown",
  "@navigation:complete.window": "updateDropdown") do %>
  <%= content %>
<% end %>

<% if dropdown? %>
  <% content_for :dropdowns do %>
    <div data-dropdown-id="<%= id %>">
      <div class="divide-y divide-lookbook-divider text-left">
        <%= dropdown %>
      </div>
    </div>
  <% end %>
<% end %>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
lookbook-2.0.2 app/components/lookbook/button/component.html.erb
lookbook-2.0.1 app/components/lookbook/button/component.html.erb
lookbook-2.0.0 app/components/lookbook/button/component.html.erb
lookbook-2.0.0.rc.3 app/components/lookbook/button/component.html.erb
lookbook-2.0.0.rc.2 app/components/lookbook/button/component.html.erb
lookbook-2.0.0.rc.1 app/components/lookbook/button/component.html.erb
lookbook-2.0.0.beta.9 app/components/lookbook/button/component.html.erb
lookbook-2.0.0.beta.8 app/components/lookbook/button/component.html.erb
lookbook-2.0.0.beta.7 app/components/lookbook/button/component.html.erb
lookbook-2.0.0.beta.6 app/components/lookbook/button/component.html.erb
lookbook-2.0.0.beta.5 app/components/lookbook/button/component.html.erb
lookbook-2.0.0.beta.4 app/components/lookbook/button/component.html.erb
lookbook-2.0.0.beta.3 app/components/lookbook/button/component.html.erb
lookbook-2.0.0.beta.2 app/components/lookbook/button/component.html.erb
lookbook-2.0.0.beta.1 app/components/lookbook/button/component.html.erb
lookbook-2.0.0.beta.0 app/components/lookbook/button/component.html.erb