Sha256: 760f5f641b27c0e5189a11cc93af0d9d9fe8238b60488ffb129c3d1c584d36b7
Contents?: true
Size: 757 Bytes
Versions: 14
Compression:
Stored size: 757 Bytes
Contents
<%= render(Primer::FlexComponent.new(**@system_arguments)) do %> <% if @side == :left %> <%= render Primer::BaseComponent.new(tag: :div, classes: "flex-shrink-0", col: (@responsive ? [12, nil, @sidebar_col] : @sidebar_col), mb: (@responsive ? [4, nil, 0] : nil)) do %> <%= sidebar %> <% end %> <% end %> <%= render Primer::BaseComponent.new(tag: :div, classes: "flex-shrink-0", col: (@responsive ? [12, nil, @main_col] : @main_col), mb: (@responsive ? [4, nil, 0] : nil)) do %> <%= main %> <% end %> <% if @side == :right %> <%= render Primer::BaseComponent.new(tag: :div, classes: "flex-shrink-0", col: (@responsive ? [12, nil, @sidebar_col] : @sidebar_col)) do %> <%= sidebar %> <% end %> <% end %> <% end %>
Version data entries
14 entries across 14 versions & 1 rubygems