Sha256: 2a4b45a601fa0d140c7dac9a603d964a11730dbe7a747581866a7a8e9ceb1ee6

Contents?: true

Size: 542 Bytes

Versions: 8

Compression:

Stored size: 542 Bytes

Contents

<%= render Primer::BaseComponent.new(**system_arguments) do %>
  <% if avatar %>
    <%= render Primer::AvatarComponent.new(alt: avatar.alt, src: avatar.src, size: avatar.size, square: avatar.square, **avatar.system_arguments) %>
  <% end %>

  <% if badge %>
    <%= render Primer::BaseComponent.new(**badge.system_arguments) do %>
      <%= octicon badge.icon %>
    <% end %>
  <% end %>

  <% if body %>
    <%= render Primer::BaseComponent.new(**body.system_arguments) do %>
      <%= body.content %>
    <% end %>
  <% end %>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
primer_view_components-0.0.20 app/components/primer/timeline_item_component.html.erb
primer_view_components-0.0.19 app/components/primer/timeline_item_component.html.erb
primer_view_components-0.0.18 app/components/primer/timeline_item_component.html.erb
primer_view_components-0.0.17 app/components/primer/timeline_item_component.html.erb
primer_view_components-0.0.16 app/components/primer/timeline_item_component.html.erb
primer_view_components-0.0.15 app/components/primer/timeline_item_component.html.erb
primer_view_components-0.0.14 app/components/primer/timeline_item_component.html.erb
primer_view_components-0.0.13 app/components/primer/timeline_item_component.html.erb