Sha256: ecd0bebbdd766e161c156a849a0be00757765c3720619709c61d41cd8a23c0a9

Contents?: true

Size: 295 Bytes

Versions: 2

Compression:

Stored size: 295 Bytes

Contents

<%= render(Primer::Beta::Button.new(
    scheme: :primary,
    size: :medium,
    block: block,
    id: id,
    align_content: align_content
)) do |component| %>
  <% component.with_leading_visual_icon(icon: :star) %>
  <% component.with_trailing_visual_counter(count: 15) %>
  Button
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
primer_view_components-0.1.9 previews/primer/beta/button_preview/trailing_counter.html.erb
primer_view_components-0.1.8 previews/primer/beta/button_preview/trailing_counter.html.erb