Sha256: 4c31fe6029edaf397512a48e6bab455ac3a820eae89f2687be690c1cbeee921d

Contents?: true

Size: 694 Bytes

Versions: 44

Compression:

Stored size: 694 Bytes

Contents

<%= render(Primer::OpenProject::SubHeader.new) do |component| %>
  <% component.with_filter_input(name: "filter", label: "Filter") %>
  <% component.with_filter_component do %>
    <!-- Render any custom filter component that you want -->
    <%= render(Primer::Beta::IconButton.new(icon: "filter", "aria-label": "Filter")) %>
  <% end %>
  <% component.with_bottom_pane_component do %>
    <!-- Render any custom component that you want -->
    <!-- The component will be shown in a second row below the rest, spanning the whole width -->
    <%= render(Primer::BaseComponent.new(tag: :div, bg: :accent, p: 3)) { 'Render any custom content here (e.g a filter area)' } %>
  <% end %>
<% end %>

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
openproject-primer_view_components-0.33.1 previews/primer/open_project/sub_header_preview/bottom_pane.html.erb
openproject-primer_view_components-0.33.0 previews/primer/open_project/sub_header_preview/bottom_pane.html.erb
openproject-primer_view_components-0.32.1 previews/primer/open_project/sub_header_preview/bottom_pane.html.erb
openproject-primer_view_components-0.32.0 previews/primer/open_project/sub_header_preview/bottom_pane.html.erb