aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs/src/components
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-09-28 01:51:30 +0800
committerFabio Berger <me@fabioberger.com>2018-09-28 01:51:30 +0800
commitdddfe8ae50f315159143dfbd8e5dbfaf75de9210 (patch)
tree62d95dca77e63c382e9ca6cb370f9d0c94390ec3 /packages/react-docs/src/components
parentc0498944c38e827dc69f369dd1427df43b23c9a9 (diff)
downloaddexon-sol-tools-dddfe8ae50f315159143dfbd8e5dbfaf75de9210.tar
dexon-sol-tools-dddfe8ae50f315159143dfbd8e5dbfaf75de9210.tar.gz
dexon-sol-tools-dddfe8ae50f315159143dfbd8e5dbfaf75de9210.tar.bz2
dexon-sol-tools-dddfe8ae50f315159143dfbd8e5dbfaf75de9210.tar.lz
dexon-sol-tools-dddfe8ae50f315159143dfbd8e5dbfaf75de9210.tar.xz
dexon-sol-tools-dddfe8ae50f315159143dfbd8e5dbfaf75de9210.tar.zst
dexon-sol-tools-dddfe8ae50f315159143dfbd8e5dbfaf75de9210.zip
Add typeSectionName to docsInfo so we don't use hard-coded "Types"
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 55aa1587e..f1cb32b68 100644
--- a/packages/react-docs/src/components/documentation.tsx
+++ b/packages/react-docs/src/components/documentation.tsx
@@ -266,7 +266,7 @@ export class Documentation extends React.Component<DocumentationProps, Documenta
<div key={`section-${sectionName}`} className="py2 pr3 md-pl2 sm-pl3">
<div className="flex pb2">
<div style={{ marginRight: 7 }}>
- <SectionHeader sectionName={sectionName} />
+ <SectionHeader sectionName={this.props.docsInfo.typeSectionName} />
</div>
{this._renderNetworkBadgesIfExists(sectionName)}
</div>