Sha256: 3e9b83368102cdd56702a4fb53dfba55d622191fa2bef94edc2ce744e327cf8e

Contents?: true

Size: 512 Bytes

Versions: 135

Compression:

Stored size: 512 Bytes

Contents

<% if render_tooltip? %>
  <%= render Primer::BaseComponent.new(tag: :div, position: :relative, display: :inline_block) do %>
    <%= render Primer::Beta::BaseButton.new(**@system_arguments) do -%>
      <%= render Primer::Beta::Octicon.new(icon: @icon) %>
    <% end -%>
    <%= render Primer::Alpha::Tooltip.new(**@tooltip_arguments) %>
  <% end %>
<% else %>
  <%= render Primer::Beta::BaseButton.new(**@system_arguments) do -%>
    <%= render Primer::Beta::Octicon.new(icon: @icon) %>
  <% end -%>
<% end %>

Version data entries

135 entries across 135 versions & 2 rubygems

Version Path
primer_view_components-0.1.5 app/components/primer/icon_button.html.erb
primer_view_components-0.1.4 app/components/primer/icon_button.html.erb
primer_view_components-0.1.3 app/components/primer/icon_button.html.erb
primer_view_components-0.1.2 app/components/primer/icon_button.html.erb
primer_view_components-0.1.1 app/components/primer/icon_button.html.erb
primer_view_components-0.1.0 app/components/primer/icon_button.html.erb
primer_view_components-0.0.123 app/components/primer/icon_button.html.erb
primer_view_components-0.0.122 app/components/primer/icon_button.html.erb
primer_view_components-0.0.121 app/components/primer/icon_button.html.erb
primer_view_components-0.0.120 app/components/primer/icon_button.html.erb
primer_view_components-0.0.119 app/components/primer/icon_button.html.erb
primer_view_components-0.0.118 app/components/primer/icon_button.html.erb
primer_view_components-0.0.117 app/components/primer/icon_button.html.erb
primer_view_components-0.0.116 app/components/primer/icon_button.html.erb
primer_view_components-0.0.115 app/components/primer/icon_button.html.erb