mirror of
https://github.com/gosticks/react-table.git
synced 2025-10-16 11:55:36 +00:00
use button type button in pagination to prevent form submitting if using table inside of the form (#122)
This commit is contained in:
parent
218cf42bb2
commit
533bea77b6
@ -4,7 +4,7 @@ import classnames from 'classnames'
|
||||
// import _ from './utils'
|
||||
|
||||
const defaultButton = (props) => (
|
||||
<button {...props} className='-btn'>{props.children}</button>
|
||||
<button type='button' {...props} className='-btn'>{props.children}</button>
|
||||
)
|
||||
|
||||
export default React.createClass({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user