Refactor the topLevel documentation react components for 0x.js and Smart contracts into a single component

This commit is contained in:
Fabio Berger
2017-11-28 15:11:04 -06:00
parent fcddd503b7
commit 72a00ac2df
10 changed files with 323 additions and 599 deletions

View File

@@ -78,16 +78,25 @@ const LazyPortal = createLazyComponent(
'Portal', async () => System.import<any>(/* webpackChunkName: "portal" */'ts/containers/portal'),
);
const LazyZeroExJSDocumentation = createLazyComponent(
'ZeroExJSDocumentation',
'Documentation',
async () => System.import<any>(/* webpackChunkName: "zeroExDocs" */'ts/containers/zero_ex_js_documentation'),
);
const LazySmartContractsDocumentation = createLazyComponent(
'SmartContractsDocumentation',
'Documentation',
async () => System.import<any>(
/* webpackChunkName: "smartContractDocs" */'ts/containers/smart_contracts_documentation',
),
);
const docs = class Documentation extends
React.Component<any, any> {
public render() {
return (
<div>hlwkdjaeljdflajfesli</div>
);
}
};
const store: ReduxStore<State> = createStore(reducer);
render(
<Router>