Don't render object literal properties that start with underscore since are private
This commit is contained in:
@@ -48,7 +48,8 @@ export class PropertyBlock extends React.Component<PropertyBlockProps, PropertyB
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<code className={`hljs ${constants.TYPE_TO_SYNTAX[this.props.docsInfo.type]}`}>
|
<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} />
|
<Type type={property.type} sectionName={sectionName} docsInfo={this.props.docsInfo} />
|
||||||
</code>
|
</code>
|
||||||
{property.source && (
|
{property.source && (
|
||||||
|
Reference in New Issue
Block a user