Skip to content

Commit

Permalink
Merge pull request #700 from razagill/master
Browse files Browse the repository at this point in the history
Added bootstrapv4 classes to pagination
  • Loading branch information
AllenFang authored Sep 27, 2016
2 parents c5f4176 + f9385fc commit 1c0e9f5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pagination/PageButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ class PageButton extends Component {
const classes = classSet({
'active': this.props.active,
'disabled': this.props.disable,
'hidden': this.props.hidden
'hidden': this.props.hidden,
'page-item': true
});
return (
<li className={ classes }>
<a href='#' onClick={ this.pageBtnClick }>{ this.props.children }</a>
<a href='#' onClick={ this.pageBtnClick } className='page-link'>{ this.props.children }</a>
</li>
);
}
Expand Down

0 comments on commit 1c0e9f5

Please sign in to comment.