// from https://github.com/AdeleD/react-paginate (converted) import React from 'react'; import PropTypes from 'prop-types'; // eslint-disable-next-line no-unused-vars class PageView extends React.Component { render() { const linkClassName = this.props.pageLinkClassName; let cssClassName = this.props.pageClassName; if (this.props.selected) { if (typeof cssClassName !== 'undefined') { cssClassName = cssClassName + ' ' + this.props.activeClassName; } else { cssClassName = this.props.activeClassName; } } /* eslint-disable jsx-a11y/anchor-is-valid */ return (