aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs/src/components/property_block.tsx
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-08-02 02:48:19 +0800
committerFabio Berger <me@fabioberger.com>2018-08-02 02:48:19 +0800
commite5b93d1f0292cb6cc38d3f92d623b27cba6ac233 (patch)
tree08581c03706d9c7b79e75870ec9e7aea073c7189 /packages/react-docs/src/components/property_block.tsx
parent32e1c2ac970069f5251bd3cd7a31072f0547cf2c (diff)
downloaddexon-sol-tools-e5b93d1f0292cb6cc38d3f92d623b27cba6ac233.tar.gz
dexon-sol-tools-e5b93d1f0292cb6cc38d3f92d623b27cba6ac233.tar.zst
dexon-sol-tools-e5b93d1f0292cb6cc38d3f92d623b27cba6ac233.zip
Add callpath to properties
Diffstat (limited to 'packages/react-docs/src/components/property_block.tsx')
-rw-r--r--packages/react-docs/src/components/property_block.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/react-docs/src/components/property_block.tsx b/packages/react-docs/src/components/property_block.tsx
index 466082a91..074c59c5f 100644
--- a/packages/react-docs/src/components/property_block.tsx
+++ b/packages/react-docs/src/components/property_block.tsx
@@ -48,7 +48,7 @@ export class PropertyBlock extends React.Component<PropertyBlockProps, PropertyB
/>
</div>
<code className={`hljs ${constants.TYPE_TO_SYNTAX[this.props.docsInfo.type]}`}>
- {property.name}:{' '}
+ {(property as any).callPath}{property.name}:{' '}
<Type type={property.type} sectionName={sectionName} docsInfo={this.props.docsInfo} />
</code>
{property.source && (