react-base-table
Advanced tools
Comparing version 1.12.0 to 1.13.0
@@ -5,2 +5,7 @@ # CHANGELOG | ||
## v1.13.0 (2021-10-24) | ||
- fix: change propTypes for `BaseTable.components` | ||
- feat: add support for React 17 | ||
## v1.12.0 (2020-10-11) | ||
@@ -7,0 +12,0 @@ |
@@ -1546,6 +1546,6 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose"; | ||
components: PropTypes.shape({ | ||
TableCell: PropTypes.func, | ||
TableHeaderCell: PropTypes.func, | ||
ExpandIcon: PropTypes.func, | ||
SortIndicator: PropTypes.func | ||
TableCell: PropTypes.elementType, | ||
TableHeaderCell: PropTypes.elementType, | ||
ExpandIcon: PropTypes.elementType, | ||
SortIndicator: PropTypes.elementType | ||
}) | ||
@@ -1552,0 +1552,0 @@ }; |
@@ -1627,6 +1627,6 @@ "use strict"; | ||
components: _propTypes["default"].shape({ | ||
TableCell: _propTypes["default"].func, | ||
TableHeaderCell: _propTypes["default"].func, | ||
ExpandIcon: _propTypes["default"].func, | ||
SortIndicator: _propTypes["default"].func | ||
TableCell: _propTypes["default"].elementType, | ||
TableHeaderCell: _propTypes["default"].elementType, | ||
ExpandIcon: _propTypes["default"].elementType, | ||
SortIndicator: _propTypes["default"].elementType | ||
}) | ||
@@ -1633,0 +1633,0 @@ }; |
{ | ||
"name": "react-base-table", | ||
"version": "1.12.0", | ||
"version": "1.13.0", | ||
"description": "a react table component to display large data set with high performance and flexibility", | ||
@@ -56,4 +56,4 @@ "main": "lib/index.js", | ||
"peerDependencies": { | ||
"react": "^16.0.0", | ||
"react-dom": "^16.0.0" | ||
"react": "^16.0.0 || ^17.0.0", | ||
"react-dom": "^16.0.0 || ^17.0.0" | ||
}, | ||
@@ -88,5 +88,5 @@ "devDependencies": { | ||
"prettier": "^1.14.2", | ||
"react": "^16.4.2", | ||
"react-dom": "^16.4.2", | ||
"react-test-renderer": "^16.4.2", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2", | ||
"react-test-renderer": "^17.0.2", | ||
"rimraf": "^2.6.2" | ||
@@ -93,0 +93,0 @@ }, |
@@ -25,4 +25,7 @@ # react-base-table | ||
import 'react-base-table/styles.css' | ||
... | ||
// Important: if you fail to import react-base-table/styles.css then | ||
// BaseTable will not render as advertised in the included examples. | ||
// For advanced styling see link below: | ||
// https://github.com/Autodesk/react-base-table#advance | ||
... | ||
<BaseTable data={data} width={600} height={400}> | ||
@@ -29,0 +32,0 @@ <Column key="col0" dataKey="col0" width={100} /> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
933722
148
1