Sha256: 040905b86d3a9c0696c92388ebc32fce314a25daf3262985b48112bede649c0c
Contents?: true
Size: 593 Bytes
Versions: 141
Compression:
Stored size: 593 Bytes
Contents
<%= render(Primer::Beta::Subhead.new) do |component| %> <% component.with_heading(id: "scLabel-vert") { "File view" } %> <% component.with_description(id: "scCaption-vert") { "Change the way the file is viewed" } %> <% component.with_actions do %> <%= render(Primer::Alpha::SegmentedControl.new("aria-labelledby": "scLabel-vert", "aria-describedby": "scCaption-vert")) do |component| %> <% component.with_item(label: "Preview", selected: true) %> <% component.with_item(label: "Raw") %> <% component.with_item(label: "Blame") %> <% end %> <% end %> <% end %>
Version data entries
141 entries across 141 versions & 2 rubygems
Version | Path |
---|---|
primer_view_components-0.0.121 | previews/primer/alpha/segmented_control_preview/with_subhead_actions.html.erb |