react-data-table-component
Advanced tools
Comparing version 0.4.3 to 0.5.0
{ | ||
"name": "react-data-table-component", | ||
"version": "0.4.3", | ||
"version": "0.5.0", | ||
"description": "A declarative react based data table", | ||
@@ -67,3 +67,3 @@ "main": "dist/index.prod.js", | ||
"babel-plugin-external-helpers": "^6.22.0", | ||
"babel-plugin-module-resolver": "^3.1.0", | ||
"babel-plugin-module-resolver": "^3.1.1", | ||
"babel-plugin-styled-components": "^1.5.1", | ||
@@ -103,2 +103,3 @@ "babel-plugin-transform-es2015-modules-commonjs": "^6.26.0", | ||
"rollup-plugin-uglify": "^3.0.0", | ||
"styled-components": "^3.2.3", | ||
"stylelint": "^9.1.3", | ||
@@ -108,4 +109,3 @@ "stylelint-config-standard": "^18.2.0", | ||
"stylelint-processor-styled-components": "^1.3.1", | ||
"uglify-es": "^3.3.9", | ||
"styled-components": "^3.2.3" | ||
"uglify-es": "^3.3.9" | ||
}, | ||
@@ -112,0 +112,0 @@ "dependencies": { |
@@ -11,3 +11,3 @@ [![Build Status](https://travis-ci.org/jbetancur/react-data-table-component.svg?branch=master)](https://travis-ci.org/jbetancur/react-data-table-component) | ||
React Data Table Component is still under **Development**, though I do not expect the API to change. Here are the initial features available: | ||
React Data Table Component is still under **Development**, though I do not anticpate the API to change much. Here are the initial features available: | ||
@@ -193,7 +193,7 @@ * Declarative Configuration | ||
It will be up to you to make sure you do not pass the same state twice. For example, if you set `clearSelectedRows={true}` twice, the second trigger, none the rows will not be cleared. | ||
It will be up to you to make sure you do not pass the same state twice. For example, if you set `clearSelectedRows={true}` twice, on the second update/trigger, none the rows will not be cleared. | ||
``` | ||
... | ||
// set the initial state | ||
state = { toggledClearRows: false } | ||
@@ -207,3 +207,3 @@ ... | ||
// Some action that triggers you to clear rows but keeps a toggle state synced | ||
// Toggle the state so React Table Table changes to `clearSelectedRows` are triggered | ||
const handleClearRows = () => { | ||
@@ -210,0 +210,0 @@ this.setState({ toggledClearRows: !this.state.toggledClearRows}) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
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
636659
6373