app/views/examples/components/dropdown-menu.html.erb in shadcn-ui-0.0.12 vs app/views/examples/components/dropdown-menu.html.erb in shadcn-ui-0.0.13
- old
+ new
@@ -1,9 +1,9 @@
<%= render_component_header title: "Dropdown Menu",
description: "Displays a menu to the user — such as a set of actions or functions — triggered by a button." %>
<%= content_for :preview, flush: true do %>
- <% render_dropdown_menu do %>
+ <%= render_dropdown_menu do %>
<%= dropdown_menu_trigger do %>
<%= render_button "Open Dropdown", variant: :outline %>
<% end %>
<%= dropdown_menu_content do %>