@azrico/reactgrid 1.0.10 → 1.0.12

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.
@@ -24,10 +24,10 @@ export type LooseColumnDefinition = Partial<loose_column_fields & ColumnDefiniti
24
24
  type columnOrString = string | LooseColumnDefinition;
25
25
  type customColumnData = {
26
26
  name: string;
27
- render: (cell: any, formatterParams: any, onRendered: any) => React.ReactNode;
27
+ render: (cell: any, formatterParams: any, onRendered: any) => React.ReactNode | undefined | null;
28
28
  };
29
29
  type GridOptions = Partial<TypeDataGridProps>;
30
- type AzGridProps = {
30
+ export type AzGridProps = {
31
31
  columns?: columnOrString[];
32
32
  rows?: any[];
33
33
  licenseKey?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azrico/reactgrid",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "main": "dist/index.js",
5
5
  "description": "React Datagrid",
6
6
  "author": "Azrideus <MehrdadTavangar@gmail.com>",
@@ -41,11 +41,11 @@ export type LooseColumnDefinition = Partial<loose_column_fields & ColumnDefiniti
41
41
  type columnOrString = string | LooseColumnDefinition;
42
42
  type customColumnData = {
43
43
  name: string;
44
- render: (cell: any, formatterParams, onRendered) => React.ReactNode;
44
+ render: (cell: any, formatterParams, onRendered) => React.ReactNode | undefined | null;
45
45
  };
46
46
  type GridOptions = Partial<TypeDataGridProps>;
47
47
  /* -------------------------------------------------------------------------- */
48
- type AzGridProps = {
48
+ export type AzGridProps = {
49
49
  columns?: columnOrString[];
50
50
  rows?: any[];
51
51
  licenseKey?: string;