Sha256: b568f6fc7d9d6b8b9c95f2e3b146605281de593d00f21f6c865851d84a007294

Contents?: true

Size: 350 Bytes

Versions: 2

Compression:

Stored size: 350 Bytes

Contents

<%= render(Yattho::Alpha::Dropdown.new) do |component| %>
  <% component.with_button(scheme: :primary, size: :small) do %>
    Dropdown
  <% end %>

  <% component.with_menu(header: "Options") do |menu|
    menu.with_item { "Item 1" }
    menu.with_item { "Item 2" }
    menu.with_item { "Item 3" }
    menu.with_item { "Item 4" }
  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/customizing_the_button.html.erb
yattho_view_components-0.0.1 previews/docs/dropdown_preview/customizing_the_button.html.erb