Previews

1
2
3
4
5
6
7
8
9
10
11
12
13
14
<%= paper_page(
full_width: true,
title: "Orders",
secondary_actions: [{ content: "Export" }],
next_url: "/order/2",
) do |page| %>
<% page.with_primary_action do |button| %>
<% button.with_icon(name: "PlusMinor") %>
<% end %>
<%= paper_card(title: "Credit card") do %>
<p>Credit card information</p>
<% end %>
<% end %>