Sha256: 24d0e387fe5f6f532234d98ab18c102596de70660c9ce7fae26b69ff915d11a4

Contents?: true

Size: 381 Bytes

Versions: 2

Compression:

Stored size: 381 Bytes

Contents

<%= render Primer::ConditionalWrapper.new(condition: render_tooltip?, tag: :div, classes: "Button-withTooltip") do %>
  <%= render Primer::Beta::BaseButton.new(**@system_arguments) do -%>
    <%= render Primer::OcticonComponent.new(icon: @icon, classes: "Button-visual") %>
  <% end -%>
  <%= render Primer::Alpha::Tooltip.new(**@tooltip_arguments) if render_tooltip? %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
primer_view_components-0.0.94 app/components/primer/beta/icon_button.html.erb
primer_view_components-0.0.93 app/components/primer/beta/icon_button.html.erb