import React from 'react'; import ReactDOM from 'react-dom'; import { Router, Route, IndexRoute, hashHistory } from 'react-router'; import '../common/lib'; import App from '../component/App'; import Home from '../component/Home'; import Article from '../component/Article'; import introduce from '../../_site/data/introduce'; import gettingStarted from '../../_site/data/getting-started'; import install from '../../_site/data/install'; import upgradeNotes from '../../_site/data/upgrade-notes'; import changelog from '../../_site/data/changelog'; import ReactComponents from '../component/ReactComponents'; import ComponentDoc from '../component/ComponentDoc'; import componentDocsList from '../../_site/data/component-docs-list'; import demosList from '../../_site/data/demos-list'; import Spec from '../component/Spec'; import specIntro from '../../_site/data/specIntro'; import font from '../../_site/data/font'; import typography from '../../_site/data/typography'; import easing from '../../_site/data/easing'; import pageTransition from '../../_site/data/page-transition'; import motion from '../../_site/data/motion'; import Resource from '../component/Resource'; import download from '../../_site/data/download'; import reference from '../../_site/data/reference'; const Introduce = () =>
; const GettingStarted = () =>
; const Install = () =>
; const UpgradeNotes = () =>
; const Changelog = () =>
; const demosListChildren = componentDocsList.map((componentDoc) => { const key = componentDoc.meta.english.toLowerCase(); const ComponentDocWrapper = () => ; return ; }); const SpecIntro = () =>
; const Font = () =>
; const Typography = () =>
; const Easing = () =>
; const PageTransition = () =>
; const Motion = () =>
; const Download = () =>
; const Reference = () =>
; ReactDOM.render( {demosListChildren} , document.getElementById('react-content'));