MyCrypto/common/containers/Tabs/ENS/components/ENS.jsx

29 lines
716 B
React
Raw Normal View History

// @flow
import * as React from 'react';
import Title from './Title';
import GeneralInfoPanel from './GeneralInfoPanel';
import UnfinishedBanner from './UnfinishedBanner';
type ContainerTabPaneActiveProps = {
children: React.Element<any>
};
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;