class @<%= component_name %> extends React.Component <% if attributes.size > 0 -%> @propTypes = <% attributes.each do |attribute| -%> <%= attribute[:name].camelize(:lower) %>: <%= attribute[:type] %> <% end -%> <% end -%> render: -> <% if attributes.size > 0 -%> `