<%= @component.title %>

<% if @component.stubs? %> <% @component.styleguide_stubs.each_with_index do |component_properties, index| %>
<%= render_component @component.name, component_properties %>

<%= @component.title %> <%= index + 1 %>

<%= render_component("<%= @component.name %>", {properties as below}) %>
<%- formatted = JSON.pretty_generate component_properties %>
<%= formatted.gsub(/\"(\S+)?\":/, '\1:') %>
<% end %> <% else %>

Hint:To see your component make sure you've created stubs:

<% end %>