Sha256: f95f0c868dcecb4fac3a7edd8b4a83e82639a55420df09547d15f4d7b01a739e
Contents?: true
Size: 877 Bytes
Versions: 6
Compression:
Stored size: 877 Bytes
Contents
<%= render_component_tag tag_name, href: @href, class: [ "block text-lookbook-button-text focus:outline-none focus-visible:outline-none #{padding}", { "hover:text-lookbook-button-text-hover": !@disabled, "cursor-[not-allowed] opacity-50": @disabled } ], disabled: @disabled, "@keydown.esc.stop": "hideDropdown" do %> <span x-ref="icon"> <%= icon || render_component(:icon, name: @icon, size: icon_size, ":class": "{'animate-spin': _spinning}") %> </span> <% if @tooltip %> <label class="hidden" x-ref="tooltip"><%= @tooltip %></label> <% end %> <% if content %> <div x-ref="content"><%== content %></div> <% end %> <% if dropdown %> <div class="hidden" x-ref="dropdown"> <div class="bg-white divide-y divide-lookbook-divider text-left"> <%== dropdown %> </div> </div> <% end %> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems