mirror of
https://github.com/gosticks/react-table.git
synced 2026-09-02 23:30:30 +00:00
Make data prop required, but allow it to be anything.
This commit is contained in:
+1
-1
@@ -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