|
1 | 1 | /* eslint no-alert: 0 */ |
2 | 2 | /* eslint max-len: 0 */ |
3 | | -import React, { Component, PropTypes } from 'react'; |
| 3 | +import React, { Component } from 'react'; |
| 4 | +import PropTypes from 'prop-types'; |
4 | 5 | import classSet from 'classnames'; |
5 | 6 | import Const from './Const'; |
6 | 7 | import TableHeader from './TableHeader'; |
@@ -1432,13 +1433,13 @@ BootstrapTable.propTypes = { |
1432 | 1433 | onSortChange: PropTypes.func, |
1433 | 1434 | onPageChange: PropTypes.func, |
1434 | 1435 | onSizePerPageList: PropTypes.func, |
1435 | | - onFilterChange: React.PropTypes.func, |
1436 | | - onSearchChange: React.PropTypes.func, |
1437 | | - onAddRow: React.PropTypes.func, |
1438 | | - onExportToCSV: React.PropTypes.func, |
1439 | | - onCellEdit: React.PropTypes.func, |
| 1436 | + onFilterChange: PropTypes.func, |
| 1437 | + onSearchChange: PropTypes.func, |
| 1438 | + onAddRow: PropTypes.func, |
| 1439 | + onExportToCSV: PropTypes.func, |
| 1440 | + onCellEdit: PropTypes.func, |
1440 | 1441 | noDataText: PropTypes.oneOfType([ PropTypes.string, PropTypes.object ]), |
1441 | | - withoutNoDataText: React.PropTypes.bool, |
| 1442 | + withoutNoDataText: PropTypes.bool, |
1442 | 1443 | handleConfirmDeleteRow: PropTypes.func, |
1443 | 1444 | prePage: PropTypes.string, |
1444 | 1445 | nextPage: PropTypes.string, |
|
0 commit comments