Sha256: 7444beafcfbc1de557f3aa7c7c34b39da827f1ad7976b9899528dbb66afe7e6d
Contents?: true
Size: 290 Bytes
Versions: 1
Compression:
Stored size: 290 Bytes
Contents
<%= content_tag(button? ? :button : :a, class: html_attrs[:class], **html_attrs.except(:class)) do %> <% if @icon_only %> <%= render @icon %> <% else %> <span data-ariadne-ui-button-target="content"><%= trimmed_content %></span> <%= trailing_visual %> <% end %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ariadne_view_components-0.0.83 | app/components/ariadne/ui/button/component.html.erb |