import React from 'react'; import PropTypes from 'prop-types'; import Directory from './Directory'; import Sort from './Sort'; const ListHeader = React.memo(({ searching, sortBy, toggleSort, goDirectory }) => ( <> )); ListHeader.propTypes = { searching: PropTypes.bool, sortBy: PropTypes.string, toggleSort: PropTypes.func, goDirectory: PropTypes.func }; export default ListHeader;