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