Previews

No matching results.

x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<div class="Polaris-ButtonGroup">
<div class="Polaris-ButtonGroup__Item"> <button type="button" data-controller="polaris-button" class="Polaris-Button">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Cancel
</div>
</span>
</button>
</div>
<div class="Polaris-ButtonGroup__Item"> Text Item
</div>
<div class="Polaris-ButtonGroup__Item"> <button type="button" data-controller="polaris-button" class="Polaris-Button Polaris-Button--primary">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Save
</div>
</span>
</button>
</div>
</div>
1
2
3
4
5
6
7
8
9
10
11
<%= polaris_button_group do |group| %>
<% group.with_item do %>
<%= polaris_button { "Cancel" } %>
<% end %>
<% group.with_item do %>
Text Item
<% end %>
<% group.with_item do %>
<%= polaris_button(primary: true) { "Save" } %>
<% end %>
<% end %>