@redi.run/redi-components 0.0.32 → 0.0.33

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/dist/index.d.ts +7 -7
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -25,9 +25,9 @@ export declare interface AdvancedTableProps<T = any> {
25
25
  exportFileName?: string;
26
26
  labels?: LabelsProps;
27
27
  renderActions?: ({ row, index, column }: {
28
- row?: T;
29
- index?: number;
30
- column?: Column<T>;
28
+ row: T;
29
+ index: number;
30
+ column: Column<T>;
31
31
  }) => React.ReactNode;
32
32
  actionsColumnLabel?: string;
33
33
  }
@@ -118,10 +118,10 @@ export declare interface Column<T = any> {
118
118
  minWidth?: number;
119
119
  align?: 'left' | 'center' | 'right';
120
120
  render?: ({ value, row, column, index }: {
121
- value?: any;
122
- row?: T;
123
- column?: Column<T>;
124
- index?: number;
121
+ value: any;
122
+ row: T;
123
+ column: Column<T>;
124
+ index: number;
125
125
  }) => React.ReactNode;
126
126
  hidden?: boolean;
127
127
  pinned?: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@redi.run/redi-components",
3
3
  "description": "This project was created to define the style of the UI and improve the UX in all projects from REDI",
4
- "version": "0.0.32",
4
+ "version": "0.0.33",
5
5
  "type": "module",
6
6
  "author": {
7
7
  "name": "Jonathan Manchego Sosa",