Don't render object literal properties that start with underscore since are private

This commit is contained in:
Fabio Berger 2018-08-03 17:13:38 +02:00
parent 3ee3fc2fb3
commit b8c8258404

View File

@ -48,7 +48,8 @@ export class PropertyBlock extends React.Component<PropertyBlockProps, PropertyB
/>
</div>
<code className={`hljs ${constants.TYPE_TO_SYNTAX[this.props.docsInfo.type]}`}>
{(property as any).callPath}{property.name}:{' '}
{(property as any).callPath}
{property.name}:{' '}
<Type type={property.type} sectionName={sectionName} docsInfo={this.props.docsInfo} />
</code>
{property.source && (