Sha256: 4f6eb6b34e17927f294668a9a1ac2670e3d223b5d2e596e61a67b9aeda97b0ed
Contents?: true
Size: 664 Bytes
Versions: 28
Compression:
Stored size: 664 Bytes
Contents
<%= render_component_tag tag_name, id: id, href: href, class: [ "block text-lookbook-icon-button-stroke focus:outline-none focus-visible:outline-none #{padding}", { "hover:text-lookbook-icon-button-stroke-hover": !disabled, "cursor-[not-allowed] opacity-50": disabled } ], disabled: disabled, aria: { label: tooltip } do %> <span x-ref="icon"> <%= icons.present? ? safe_join(icons) : (lookbook_render(:icon, name: icon, size: icon_size, ":class": "{'animate-spin': _spinning}") if icon) %> </span> <% if tooltip %> <label class="hidden" x-ref="tooltip"><%= tooltip %></label> <% end %> <%= content %> <% end %>
Version data entries
28 entries across 28 versions & 1 rubygems