Previews

1
2
3
4
5
6
7
8
render(Primer::Beta::BorderBox.new(padding: padding)) do |component|
component.with_header { "Header" }
component.with_body { "Body" }
component.with_row(scheme: scheme) { "#{scheme.to_s.capitalize} row one" }
component.with_row(scheme: scheme) { "#{scheme.to_s.capitalize} row two" }
component.with_row(scheme: scheme) { "#{scheme.to_s.capitalize} row three" }
component.with_footer { "Footer" }
end