Previews

No matching results.

x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<div style="max-width: 100px;">
<div class="Polaris-ButtonGroup Polaris-ButtonGroup--noWrap">
<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">
Very long button text
</div>
</span>
</button></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>
</div>
1
2
3
4
5
6
<div style="max-width: 100px;">
<%= polaris_button_group(nowrap: true) do |group| %>
<%= group.with_button { "Very long button text" } %>
<%= group.with_button(primary: true) { "Save" } %>
<% end %>
</div>