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