Sha256: 4cdd605a8bd29b7195cca79e7dc49f6effbe83c62228c8fa857255175cda2b07
Contents?: true
Size: 450 Bytes
Versions: 2
Compression:
Stored size: 450 Bytes
Contents
<%= render(Yattho::Alpha::Dropdown.new) do |component| %> <% component.with_button do %> Dropdown <% end %> <% component.with_menu(header: "Options") do |menu| menu.with_item { "Item 1" } menu.with_item { "Item 2" } menu.with_item(divider: true) menu.with_item { "Item 3" } menu.with_item { "Item 4" } menu.with_item(divider: true) menu.with_item { "Item 5" } menu.with_item { "Item 6" } end %> <% end %>
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yattho_view_components-0.0.1 | previews/docs/alpha_dropdown_preview/with_dividers.html.erb |
yattho_view_components-0.0.1 | previews/docs/dropdown_preview/with_dividers.html.erb |