Sha256: 090e8be0b0050a0abc58a4dca3b52acd44fedfb1651ec08fb625f551070b4338
Contents?: true
Size: 836 Bytes
Versions: 38
Compression:
Stored size: 836 Bytes
Contents
<%= render Primer::ConditionalWrapper.new(condition: tooltip.present?, tag: :div, display: (:block if @block), classes: "Button-withTooltip") do -%> <%= render Primer::Beta::BaseButton.new(**@system_arguments) do -%> <span class="<%= @align_content_classes %>"> <% if leading_visual %> <span class="Button-visual Button-leadingVisual"> <%= leading_visual %> </span> <% end %> <span class="Button-label"><%= trimmed_content %></span> <% if trailing_visual %> <span class="Button-visual Button-trailingVisual"> <%= trailing_visual %> </span> <% end %> </span> <% if trailing_action %> <span class="Button-visual Button-trailingAction"> <%= trailing_action %> </span> <% end %> <% end -%> <%= tooltip %> <% end -%>
Version data entries
38 entries across 38 versions & 2 rubygems