diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-03 23:13:38 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-03 23:13:38 +0800 |
commit | b8c8258404fa7959b71dd9e87fba16d32b57a868 (patch) | |
tree | 8f596df66563e6ee01ee22973ffb75e4ca1ca0dd /packages/react-docs/src | |
parent | 3ee3fc2fb35b5ecc8237363d6307b7135ed4f927 (diff) | |
download | dexon-0x-contracts-b8c8258404fa7959b71dd9e87fba16d32b57a868.tar.gz dexon-0x-contracts-b8c8258404fa7959b71dd9e87fba16d32b57a868.tar.zst dexon-0x-contracts-b8c8258404fa7959b71dd9e87fba16d32b57a868.zip |
Don't render object literal properties that start with underscore since are private
Diffstat (limited to 'packages/react-docs/src')
-rw-r--r-- | packages/react-docs/src/components/property_block.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/react-docs/src/components/property_block.tsx b/packages/react-docs/src/components/property_block.tsx index 074c59c5f..ea80ba7b7 100644 --- a/packages/react-docs/src/components/property_block.tsx +++ b/packages/react-docs/src/components/property_block.tsx @@ -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 && ( |