Sha256: 71027e6f6cf50fff22802581aaa68e92e0da89fb5471ff48f78bdf3166b0cebd

Contents?: true

Size: 400 Bytes

Versions: 36

Compression:

Stored size: 400 Bytes

Contents

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

Version data entries

36 entries across 36 versions & 2 rubygems

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