<%= 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 %>
<%= dropdown %>
<% end %> <% end %>