Skip to content

Commit da82469

Browse files
committed
add a general class name for fixing #1153
1 parent df51416 commit da82469

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/pagination/SizePerPageDropDown.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import React, { Component, PropTypes } from 'react';
22

3+
const sizePerPageDefaultClass = 'react-bs-table-sizePerPage-dropdown';
4+
35
class SizePerPageDropDown extends Component {
46
render() {
57
const {
@@ -17,7 +19,8 @@ class SizePerPageDropDown extends Component {
1719
const dropDownStyle = { visibility: hidden ? 'hidden' : 'visible' };
1820

1921
return (
20-
<span className={ `${variation} ${openClass} ${className}` } style={ dropDownStyle }>
22+
<span style={ dropDownStyle }
23+
className={ `${variation} ${openClass} ${className} ${sizePerPageDefaultClass}` }>
2124
<button className={ `btn ${btnContextual} dropdown-toggle` }
2225
id='pageDropDown' data-toggle='dropdown'
2326
aria-expanded={ open }

0 commit comments

Comments
 (0)