()
| 14 | } |
| 15 | |
| 16 | render() { |
| 17 | const classes = classSet({ |
| 18 | 'active': this.props.active, |
| 19 | 'disabled': this.props.disable, |
| 20 | 'hidden': this.props.hidden, |
| 21 | 'page-item': true |
| 22 | }); |
| 23 | return ( |
| 24 | <li className={ classes } title={ this.props.title }> |
| 25 | <a href='#' onClick={ this.pageBtnClick } className='page-link'>{ this.props.children }</a> |
| 26 | </li> |
| 27 | ); |
| 28 | } |
| 29 | } |
| 30 | PageButton.propTypes = { |
| 31 | title: PropTypes.string, |
nothing calls this directly
no test coverage detected