<% panels.each do |key, props| %>
" class="flex items-center" :class="{'pointer-events-none opacity-30': <%= !props[:copy].present? %>}" x-show="isActiveDrawerPanel('<%= key %>')" x-cloak> <%= component "copy-button", target: "inspector-panel-#{example.id}-#{key}-clipboard", disabled: !props[:copy].present? %>
<% end %>
<% panels.each do |key, props| %>
<%= render props[:template], key: key, examples: examples, clipboard_id: "inspector-panel-#{example.id}-#{key}-clipboard", **props %>
<% end %>