2017-09-25 02:06:28 +00:00
|
|
|
import React from 'react';
|
|
|
|
import { GeneralInfoPanel } from './GeneralInfoPanel';
|
2017-09-04 00:04:27 +00:00
|
|
|
import Title from './Title';
|
|
|
|
import UnfinishedBanner from './UnfinishedBanner';
|
2017-09-29 02:09:01 +00:00
|
|
|
import App from 'containers/App';
|
2017-09-25 02:06:28 +00:00
|
|
|
|
|
|
|
interface ContainerTabPaneActiveProps {
|
|
|
|
children: React.ReactElement<any> | React.ReactElement<any>[];
|
|
|
|
}
|
2017-09-04 00:04:27 +00:00
|
|
|
|
2017-09-29 02:09:01 +00:00
|
|
|
const ContainerTabPaneActive = ({ children }: ContainerTabPaneActiveProps) => (
|
|
|
|
<App>
|
|
|
|
<section className="container">
|
|
|
|
<div className="tab-content">
|
|
|
|
<main className="tab-pane active">
|
|
|
|
<section role="main" className="row">
|
|
|
|
{children}
|
|
|
|
</section>
|
|
|
|
</main>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</App>
|
|
|
|
);
|
2017-09-04 00:04:27 +00:00
|
|
|
|
2017-09-29 02:09:01 +00:00
|
|
|
const ENS = () => (
|
2017-09-04 00:04:27 +00:00
|
|
|
<ContainerTabPaneActive>
|
|
|
|
<UnfinishedBanner />
|
|
|
|
<Title />
|
|
|
|
<GeneralInfoPanel />
|
2017-09-29 02:09:01 +00:00
|
|
|
</ContainerTabPaneActive>
|
|
|
|
);
|
2017-09-04 00:04:27 +00:00
|
|
|
|
|
|
|
export default ENS;
|