import React from 'react'; import PropTypes from 'prop-types'; import { useManagementTableHeader } from '../../../utils/hooks/'; import { MaterialIcon } from '../../_shared/material-icon/MaterialIcon'; export function ManageCommentsItemHeader(props) { const [sort, order, isSelected, sortByColumn, checkAll] = useManagementTableHeader({ ...props, type: 'comments' }); return (
Author
Comment
Date added
); } ManageCommentsItemHeader.propTypes = { sort: PropTypes.string.isRequired, order: PropTypes.string.isRequired, selected: PropTypes.bool.isRequired, onClickColumnSort: PropTypes.func, onCheckAllRows: PropTypes.func, };