Sha256: 8cff2e43e673b42a939bcb87a8c585c20a813c72e002a8b9a53fcc4fb948e045
Contents?: true
Size: 626 Bytes
Versions: 141
Compression:
Stored size: 626 Bytes
Contents
<%= render(Primer::Box.new(display: :flex, direction: :column)) do %> <%= render(Primer::BaseComponent.new(tag: "span", id: "scLabel-horiz")) { "File view" } %> <%= render(Primer::Alpha::SegmentedControl.new("aria-labelledby": "scLabel-horiz", "aria-describedby": "scCaption-horiz")) do |component| %> <% component.with_item(label: "Preview", selected: true) %> <% component.with_item(label: "Raw") %> <% component.with_item(label: "Blame") %> <% end %> <%= render(Primer::Beta::Text.new(font_size: :small, mt: 1, color: :muted, id: "scCaption-horiz")) { "Change the way the file is viewed" } %> <% end %>
Version data entries
141 entries across 141 versions & 2 rubygems