James Prado 6f7e3c27e2 Fix regressions introduced in #241 (#247)
* Fix location query

* Remove unnecessary polyfill

* Fix tslint error & update history types

* Parse search str using Node Query String

* Revert "Parse search str using Node Query String"

This reverts commit 0a482dabf29c3fbcbfd3112b974d6b98c14dca2e.

* fix formatting

* Add query-string

* Rename App container to TabSection & pass it location prop

* Add react-router withRouter HOC to NavigationLink

* various adjustments/finalizations

* Add location to props interface
2017-10-03 21:13:49 -07:00

34 lines
848 B
TypeScript

import React from 'react';
import { GeneralInfoPanel } from './GeneralInfoPanel';
import Title from './Title';
import UnfinishedBanner from './UnfinishedBanner';
import TabSection from 'containers/TabSection';
interface ContainerTabPaneActiveProps {
children: React.ReactElement<any> | React.ReactElement<any>[];
}
const ContainerTabPaneActive = ({ children }: ContainerTabPaneActiveProps) => (
<TabSection>
<section className="container">
<div className="tab-content">
<main className="tab-pane active">
<section role="main" className="row">
{children}
</section>
</main>
</div>
</section>
</TabSection>
);
const ENS = () => (
<ContainerTabPaneActive>
<UnfinishedBanner />
<Title />
<GeneralInfoPanel />
</ContainerTabPaneActive>
);
export default ENS;