thebespokepixel/documentation-theme-bespoke

View on GitHub
src/parts/paramProperty._

Summary

Maintainability
Test Coverage
<tr>
  <td class='break-word'><span class='code bold'><%- property.name %></span> <code class='quiet'><%= formatType(property.type) %></code>
  <% if (property.default) { %>
    (default <code><%- property.default %></code>)
  <% } %></td>
  <td class='break-word'><span><%= md(property.description, true) %></span></td>
</tr>
<% if(property.properties && property.properties.length) { %>
  <% property.properties.forEach(function(childProperty) { %>
    <%= renderParamProperty({
      property: childProperty,
      renderParamProperty: renderParamProperty
    }) %>
  <% }) %>
<% } %>