x
1
2
3
4
5
6
7
8
9
10
11
12
13
<div class="d-flex"> <div data-view-component="true" class="StackItem p-3 m-1 color-bg-success rounded-2"> Adjust this item </div> <div data-view-component="true" class="StackItem p-3 m-1 color-bg-accent rounded-2"> Fixed width </div> <div data-view-component="true" class="StackItem p-3 m-1 color-bg-attention rounded-2"> Fixed width </div></div>
No notes provided.
1
2
3
4
5
6
7
8
9
10
11
<div class="d-flex"> <%= render(Primer::Alpha::StackItem.new(**system_arguments, p: 3, m: 1, bg: :success, border_radius: 2)) do %> Adjust this item <% end %> <%= render(Primer::Alpha::StackItem.new(p: 3, m: 1, bg: :accent, border_radius: 2)) do %> Fixed width <% end %> <%= render(Primer::Alpha::StackItem.new(p: 3, m: 1, bg: :attention, border_radius: 2)) do %> Fixed width <% end %></div>
Param | Description | Input |
---|---|---|
— |
|
|
— |
|
|
— |
|
|
— |
|
|
— |
|