<% value = params.key?(param[:name]) ? params[param[:name]] : param[:default] %>
x-effect="if ($store.inspector.drawer.active === 'params') setFocus()"<% end %> >
<%= render "lookbook/inputs/#{param[:input]}", **param, value: value, id: "#{@example.id}-param-#{param[:name]}-input" %>