x
1
2
3
4
<div data-view-component="true" class="flex-row flex-justify-start d-flex"> <div data-view-component="true" class="color-bg-attention p-6">Block 1</div> <div data-view-component="true" class="color-bg-accent p-6">Block 2</div></div>
No notes provided.
1
2
3
4
5
6
7
8
render(Primer::OpenProject::FlexLayout.new(direction: direction, justify_content: justify_content)) do |component| component.with_box(bg: :attention, p: 6) do "Block 1" end component.with_box(bg: :accent, p: 6) do "Block 2" endend
Param | Description | Input |
---|---|---|
— |
|
|
— |
|