app/components/lookbook/inspector_panel/component.html.erb in lookbook-1.1.1 vs app/components/lookbook/inspector_panel/component.html.erb in lookbook-1.2.0
- old
+ new
@@ -1,5 +1,5 @@
-<%= render_component_tag :div, class: "h-full" do %>
+<%= render_component_tag :div, id: id, class: "h-full", "data-panel": @name do %>
<%= panel_html %>
<% end %>
<% if panel_styles %>
<% content_for :user_styles do %><%= panel_styles %>
\ No newline at end of file