aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs/src/components
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-08-22 23:11:42 +0800
committerFabio Berger <me@fabioberger.com>2018-08-22 23:11:42 +0800
commit7c29cadb1722b7ac6df7db8c947cc5eaad24edaf (patch)
tree02174f7c36879fb4bd3cfba99f554bfb29e5efb6 /packages/react-docs/src/components
parent40b202f8c0907cb729cc0d7d755a6810c8b1ff06 (diff)
downloaddexon-sol-tools-7c29cadb1722b7ac6df7db8c947cc5eaad24edaf.tar
dexon-sol-tools-7c29cadb1722b7ac6df7db8c947cc5eaad24edaf.tar.gz
dexon-sol-tools-7c29cadb1722b7ac6df7db8c947cc5eaad24edaf.tar.bz2
dexon-sol-tools-7c29cadb1722b7ac6df7db8c947cc5eaad24edaf.tar.lz
dexon-sol-tools-7c29cadb1722b7ac6df7db8c947cc5eaad24edaf.tar.xz
dexon-sol-tools-7c29cadb1722b7ac6df7db8c947cc5eaad24edaf.tar.zst
dexon-sol-tools-7c29cadb1722b7ac6df7db8c947cc5eaad24edaf.zip
Use actual packageName for external example imports
Diffstat (limited to 'packages/react-docs/src/components')
-rw-r--r--packages/react-docs/src/components/documentation.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/react-docs/src/components/documentation.tsx b/packages/react-docs/src/components/documentation.tsx
index 0adadb30b..9d9b5141a 100644
--- a/packages/react-docs/src/components/documentation.tsx
+++ b/packages/react-docs/src/components/documentation.tsx
@@ -322,7 +322,7 @@ export class Documentation extends React.Component<DocumentationProps, Documenta
<a href={link} target="_blank" style={{ color: colors.lightBlueA700, textDecoration: 'none' }}>
{exportName}
</a>
- {` } from '${this.props.docsInfo.displayName}'`}
+ {` } from '${this.props.docsInfo.packageName}'`}
</code>
</div>
);