Sha256: 53fbc83a144678e8bbac1d096d9a6fcf256704fd4f0b31f8d3ea5e98a8910f81

Contents?: true

Size: 129 Bytes

Versions: 5

Compression:

Stored size: 129 Bytes

Contents

<%= content_tag(button? ? :button : :a, class: html_attrs[:class], **html_attrs.except(:class)) do %>
  <%= content %>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ariadne_view_components-0.0.78 app/components/ariadne/ui/button/component.html.erb
ariadne_view_components-0.0.77 app/components/ariadne/ui/button/component.html.erb
ariadne_view_components-0.0.76.1 app/components/ariadne/ui/button/component.html.erb
ariadne_view_components-0.0.76 app/components/ariadne/ui/button/component.html.erb
ariadne_view_components-0.0.75 app/components/ariadne/ui/button/component.html.erb