Sha256: 049e7c4681d64f52fa72d370e56a5baacd589a581fad519d864e57cb4723dfbe
Contents?: true
Size: 534 Bytes
Versions: 2
Compression:
Stored size: 534 Bytes
Contents
<%= render(Yattho::Alpha::Menu.new) do |component| %> <% component.with_heading(tag: :h2) do %> Heading <% end %> <% component.with_item(selected: true, href: "#url") do %> Item 1 <% end %> <% component.with_item(href: "#url") do %> <%= render(Yattho::Beta::Octicon.new("check")) %> With Icon <% end %> <% component.with_item(href: "#url") do %> <%= render(Yattho::Beta::Octicon.new("check")) %> With Icon and Counter <%= render(Yattho::Beta::Counter.new(count: 25)) %> <% end %> <% end %>
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yattho_view_components-0.0.1 | previews/docs/alpha_menu_preview/default.html.erb |
yattho_view_components-0.0.1 | previews/docs/menu_component_preview/default.html.erb |