import { ChildrenType } from 'Type/Common';
export class CategoryPaginationLink extends PureComponent {
// component children are treated as props in React
// by leaving out .isRequired, we make them optional
// we expect the getPage prop to be a function
// it is required, so this will emit a warning if
// getPage is not provided
getPage: PropTypes.func.isRequired,
// isCurrent expects a boolean
isCurrent: PropTypes.bool.isRequired,
url_path: PropTypes.string.isRequired,
pageNumber: PropTypes.number.isRequired
// we must provide a default value for every prop that