mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-29 05:00:43 +10:00
22 lines
611 B
JavaScript
22 lines
611 B
JavaScript
import React, { PropTypes } from 'react';
|
|
import { Menu, NamedLink } from '../../components';
|
|
import css from './SearchResultsPanel.css';
|
|
|
|
const SearchResultsPanel = props => (
|
|
<div>
|
|
<Menu />
|
|
{props.children}
|
|
<div className={css.navigation}>
|
|
<NamedLink className={css.button} name="SearchFiltersPage">Filters</NamedLink>
|
|
<NamedLink className={css.button} name="SearchMapPage">Map</NamedLink>
|
|
</div>
|
|
</div>
|
|
);
|
|
|
|
SearchResultsPanel.defaultProps = { children: null };
|
|
|
|
const { any } = PropTypes;
|
|
|
|
SearchResultsPanel.propTypes = { children: any };
|
|
|
|
export default SearchResultsPanel;
|