@symply.io/basic-components 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +9 -9
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -844,15 +844,15 @@ import TablePagination from '@symply.io/basic-components/TablePagination';
844
844
 
845
845
  <h5>Props</h5>
846
846
 
847
- | Name | Type | Default | Required | Description |
848
- | ------------------- | --------------- | ------- | -------- | ------------------------------------------------------------ |
849
- | colSpan | number | | true | The number of columns a cell should span. |
850
- | count | number | | true | The total count of all data. |
851
- | onPageChange | func | | true | Callback fired when the `page` value is changed.<br />**Signature:**<br/>`function(event: MouseEvent<HTMLButtonElement> ) => void,value: number`<br/>*value:* The value of the `page` . |
852
- | onRowsPerPageChange | func | | true | Callback fired when the `Select` value is changed.<br />**Signature:**<br/>`function(event: ChangeEvent<HTMLInputElement ` |
853
- | page | number | | true | The current page index. |
854
- | rowsPerPage | number | | true | How many rows per page. |
855
- | rowsPerPageOptions | Array\<number\> | | true | The options for setting how many rows per page. |
847
+ | Name | Type | Default | Required | Description |
848
+ | ------------------- | --------------- | ---------------- | -------- | ------------------------------------------------------------ |
849
+ | colSpan | number | | true | The number of columns a cell should span. |
850
+ | count | number | | true | The total count of all data. |
851
+ | onPageChange | func | | true | Callback fired when the `page` value is changed.<br />**Signature:**<br/>`function(event: MouseEvent<HTMLButtonElement> ) => void,value: number`<br/>*value:* The value of the `page` . |
852
+ | onRowsPerPageChange | func | | true | Callback fired when the `Select` value is changed.<br />**Signature:**<br/>`function(event: ChangeEvent<HTMLInputElement ` |
853
+ | page | number | | true | The current page index. |
854
+ | rowsPerPage | number | | true | How many rows per page. |
855
+ | rowsPerPageOptions | Array\<number\> | [10, 20, 30, 50] | false | The options for setting how many rows per page. |
856
856
 
857
857
 
858
858
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symply.io/basic-components",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Basic and reusable components for all frontend of Symply apps",
5
5
  "keywords": [
6
6
  "react",