mirror of
https://github.com/gosticks/react-table.git
synced 2026-05-31 04:30:01 +00:00
Make data prop required, but allow it to be anything.
This commit is contained in:
@@ -2,7 +2,7 @@ import PropTypes from 'prop-types'
|
||||
|
||||
export default {
|
||||
// General
|
||||
data: PropTypes.array,
|
||||
data: PropTypes.any.isRequired,
|
||||
loading: PropTypes.bool,
|
||||
showPagination: PropTypes.bool,
|
||||
showPaginationTop: PropTypes.bool,
|
||||
|
||||
Reference in New Issue
Block a user