diff options
author | Fabio Berger <me@fabioberger.com> | 2019-01-12 00:14:12 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2019-01-12 00:14:12 +0800 |
commit | 98579300c1f78d8c360fa960cc73ffacb1012e91 (patch) | |
tree | ab29e15e580820ad76dafa088926bec9998bb51c /packages/react-docs/src/components/doc_reference.tsx | |
parent | 6fb2721294f5d25edb76cb6f9b34eb3e07212950 (diff) | |
parent | 2cf57a48dd2857dd5cf2f31f4c60dd47ae4d34a5 (diff) | |
download | dexon-0x-contracts-98579300c1f78d8c360fa960cc73ffacb1012e91.tar dexon-0x-contracts-98579300c1f78d8c360fa960cc73ffacb1012e91.tar.gz dexon-0x-contracts-98579300c1f78d8c360fa960cc73ffacb1012e91.tar.bz2 dexon-0x-contracts-98579300c1f78d8c360fa960cc73ffacb1012e91.tar.lz dexon-0x-contracts-98579300c1f78d8c360fa960cc73ffacb1012e91.tar.xz dexon-0x-contracts-98579300c1f78d8c360fa960cc73ffacb1012e91.tar.zst dexon-0x-contracts-98579300c1f78d8c360fa960cc73ffacb1012e91.zip |
merge development
Diffstat (limited to 'packages/react-docs/src/components/doc_reference.tsx')
-rw-r--r-- | packages/react-docs/src/components/doc_reference.tsx | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/packages/react-docs/src/components/doc_reference.tsx b/packages/react-docs/src/components/doc_reference.tsx index 85547576b..424fe9ecf 100644 --- a/packages/react-docs/src/components/doc_reference.tsx +++ b/packages/react-docs/src/components/doc_reference.tsx @@ -194,21 +194,19 @@ export class DocReference extends React.Component<DocReferenceProps, DocReferenc <div>{functionDefs}</div> </div> )} - {!_.isUndefined(docSection.events) && - docSection.events.length > 0 && ( - <div> - <h2 style={headerStyle}>Events</h2> - <div>{eventDefs}</div> - </div> - )} + {!_.isUndefined(docSection.events) && docSection.events.length > 0 && ( + <div> + <h2 style={headerStyle}>Events</h2> + <div>{eventDefs}</div> + </div> + )} {!_.isUndefined(docSection.externalExportToLink) && this._renderExternalExports(docSection.externalExportToLink)} - {!_.isUndefined(typeDefs) && - typeDefs.length > 0 && ( - <div> - <div>{typeDefs}</div> - </div> - )} + {!_.isUndefined(typeDefs) && typeDefs.length > 0 && ( + <div> + <div>{typeDefs}</div> + </div> + )} <div style={{ width: '100%', |