Sha256: 12946c30386a501176b2546d58f835f5d0d81afc1de9305c85e821fa081dd66f
Contents?: true
Size: 747 Bytes
Versions: 9
Compression:
Stored size: 747 Bytes
Contents
<%= render(Primer::FlexComponent.new(**@kwargs)) 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
9 entries across 9 versions & 1 rubygems