import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; export const SearchSection = ({ title, onClickMore, children }) => (

{title}

{onClickMore && }
{children}
); SearchSection.propTypes = { title: PropTypes.node.isRequired, onClickMore: PropTypes.func, children: PropTypes.children, };