<% value = params.key?(param[:name]) ? params[param[:name]] : param[:default] %>
<%= render "lookbook/previews/inputs/#{param[:input]}", **param, value: value %>