import React from 'react'; import { PropTypes } from 'prop-types'; import getConfig from 'next/config'; import './style.scss'; const { publicRuntimeConfig } = getConfig(); const SearchBar = props => (

Archives

{ props.isSearchActive && ( ) }
); SearchBar.propTypes = { term: PropTypes.string.isRequired, isSearchActive: PropTypes.bool.isRequired, onSearchInputChange: PropTypes.func.isRequired, clearSearchInput: PropTypes.func.isRequired, }; export default SearchBar;