<%- if component -%> <%= render component %> <%- else -%> Failed to infer a component from the preview: <%= error %> <%- end -%>