This pull request addresses the issue where the dropdown menu examples and usage code in the documentation use script tags instead of output tags. This prevented the dropdown component from appearing correctly when copied from the documentation.
Changes Made:
Corrected the syntax from script tag <% to output tag <%= in app/views/examples/components/dropdown-menu/code/_preview.erb.
Corrected the syntax from script tag <% to output tag <%= in app/views/examples/components/dropdown-menu/code/_usage.erb.
Description:
This pull request addresses the issue where the dropdown menu examples and usage code in the documentation use script tags instead of output tags. This prevented the dropdown component from appearing correctly when copied from the documentation.
Changes Made:
<%
to output tag<%=
inapp/views/examples/components/dropdown-menu/code/_preview.erb
.<%
to output tag<%=
inapp/views/examples/components/dropdown-menu/code/_usage.erb
.Affected Files:
app/views/examples/components/dropdown-menu/code/_preview.erb
app/views/examples/components/dropdown-menu/code/_usage.erb
These changes ensure that the dropdown components render correctly when copied from the documentation examples and usage sections.
Related Issue: