Sha256: 579ec9b52055e7a8906c2031834b444ca49b7514d4c94804884b29a4c705303a

Contents?: true

Size: 396 Bytes

Versions: 4

Compression:

Stored size: 396 Bytes

Contents

<%= render(Primer::BaseComponent.new(tag: :div, **@system_arguments)) do %>
  <%= render(Primer::BaseComponent.new(tag: @tag, classes: "ActionList-sectionDivider-title", id: @list_id)) do %>
    <%= @title %>
  <% end %>
  <%= render Primer::ConditionalWrapper.new(condition: @subtitle.present?, tag: :span, classes: "ActionListItem-description") do %>
    <%= @subtitle %>
  <% end %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
primer_view_components-0.1.4 app/components/primer/alpha/action_list/heading.html.erb
primer_view_components-0.1.3 app/components/primer/alpha/action_list/heading.html.erb
primer_view_components-0.1.2 app/components/primer/alpha/action_list/heading.html.erb
primer_view_components-0.1.1 app/components/primer/alpha/action_list/heading.html.erb