Sha256: cfad597504442ca26a7c762d23d8a5edd2255b23a109269365db7082c98cb310

Contents?: true

Size: 357 Bytes

Versions: 2

Compression:

Stored size: 357 Bytes

Contents

<%= render(Yattho::Alpha::Dropdown.new(display: :inline_block)) do |component| %>
  <% component.with_button do %>
    Dropdown
  <% end %>

  <% component.with_menu(header: "Options", direction: :s) 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/with_direction.html.erb
yattho_view_components-0.0.1 previews/docs/dropdown_preview/with_direction.html.erb