Don't render object literal properties that start with underscore since are private
This commit is contained in:
parent
3ee3fc2fb3
commit
b8c8258404
@ -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 && (
|
||||
|
Loading…
x
Reference in New Issue
Block a user