MCPcopy Create free account
hub / github.com/AllenFang/react-bootstrap-table / render

Method render

src/pagination/PageButton.js:16–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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}
30PageButton.propTypes = {
31 title: PropTypes.string,

Callers

nothing calls this directly

Calls 1

classSetFunction · 0.85

Tested by

no test coverage detected