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-10-04 04:13:49 +00:00
|
|
|
import TabSection from 'containers/TabSection';
|
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) => (
|
2017-10-04 04:13:49 +00:00
|
|
|
<TabSection>
|
2017-09-29 02:09:01 +00:00
|
|
|
<section className="container">
|
|
|
|
<div className="tab-content">
|
|
|
|
<main className="tab-pane active">
|
|
|
|
<section role="main" className="row">
|
|
|
|
{children}
|
|
|
|
</section>
|
|
|
|
</main>
|
|
|
|
</div>
|
|
|
|
</section>
|
2017-10-04 04:13:49 +00:00
|
|
|
</TabSection>
|
2017-09-29 02:09:01 +00:00
|
|
|
);
|
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;
|