Sha256: a31661e2c7b5bb322e27332e471d3f6c3479847546ea0677036b61d8c50e5002

Contents?: true

Size: 360 Bytes

Versions: 12

Compression:

Stored size: 360 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 @tooltip if render_tooltip? %>
<% end %>

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
openproject-primer_view_components-0.16.0 app/components/primer/beta/icon_button.html.erb
openproject-primer_view_components-0.15.0 app/components/primer/beta/icon_button.html.erb
openproject-primer_view_components-0.14.0 app/components/primer/beta/icon_button.html.erb
openproject-primer_view_components-0.13.1 app/components/primer/beta/icon_button.html.erb
primer_view_components-0.13.2 app/components/primer/beta/icon_button.html.erb
primer_view_components-0.13.1 app/components/primer/beta/icon_button.html.erb
openproject-primer_view_components-0.13.0 app/components/primer/beta/icon_button.html.erb
primer_view_components-0.13.0 app/components/primer/beta/icon_button.html.erb
primer_view_components-0.12.0 app/components/primer/beta/icon_button.html.erb
primer_view_components-0.11.0 app/components/primer/beta/icon_button.html.erb
openproject-primer_view_components-0.12.1 app/components/primer/beta/icon_button.html.erb
primer_view_components-0.10.0 app/components/primer/beta/icon_button.html.erb