File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
demo/app/views/docs/components Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 5454 <%= simple_format ( @code_object . docstring ) %>
5555 </ section >
5656
57+ <% if @lookbook_embeds . any? %>
58+ < section >
59+ < h2 class ="mt-8 text-2xl font-bold "> Examples</ h2 >
60+
61+ <% @lookbook_embeds . each do |lookbook_tag | %>
62+ < lookbook-embed panels ="source " preview ="<%= lookbook_tag . text . strip %> " scenario ="* "> </ lookbook-embed >
63+ <% end %>
64+ </ section >
65+ <% end %>
66+
5767 <% if @viewcomponent_slots . any? %>
5868 < section >
5969 < h2 class ="mt-8 text-2xl font-bold "> Slots</ h2 >
7989 </ section >
8090 <% end %>
8191
82- <% if @lookbook_embeds . any? %>
83- < section >
84- < h2 class ="mt-8 text-2xl font-bold "> Examples</ h2 >
85-
86- <% @lookbook_embeds . each do |lookbook_tag | %>
87- < lookbook-embed panels ="source " preview ="<%= lookbook_tag . text . strip %> " scenario ="* "> </ lookbook-embed >
88- <% end %>
89- </ section >
90- <% end %>
91-
9292 <% if @constructor %>
9393 < section >
9494 < h2 class ="mt-8 text-2xl font-bold "> Constructor</ h2 >
You can’t perform that action at this time.
0 commit comments