Skip to content

Commit

Permalink
add a general class name for fixing #1153
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenFang committed Apr 12, 2017
1 parent df51416 commit da82469
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pagination/SizePerPageDropDown.js
@@ -1,5 +1,7 @@
import React, { Component, PropTypes } from 'react';

const sizePerPageDefaultClass = 'react-bs-table-sizePerPage-dropdown';

class SizePerPageDropDown extends Component {
render() {
const {
Expand All @@ -17,7 +19,8 @@ class SizePerPageDropDown extends Component {
const dropDownStyle = { visibility: hidden ? 'hidden' : 'visible' };

return (
<span className={ `${variation} ${openClass} ${className}` } style={ dropDownStyle }>
<span style={ dropDownStyle }
className={ `${variation} ${openClass} ${className} ${sizePerPageDefaultClass}` }>
<button className={ `btn ${btnContextual} dropdown-toggle` }
id='pageDropDown' data-toggle='dropdown'
aria-expanded={ open }
Expand Down

0 comments on commit da82469

Please sign in to comment.