Sha256: cdd57e7f603e57dd102662577f641afa4a7c16b7c1bb4d100e89afba34946ba6

Contents?: true

Size: 391 Bytes

Versions: 3

Compression:

Stored size: 391 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
primer_view_components-0.1.7 app/components/primer/alpha/action_list/heading.html.erb
primer_view_components-0.1.6 app/components/primer/alpha/action_list/heading.html.erb
primer_view_components-0.1.5 app/components/primer/alpha/action_list/heading.html.erb