fis-component 0.0.53 → 0.0.54

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.
@@ -1,10 +1,10 @@
1
1
  import { ComponentType } from "react";
2
2
  interface FISSorterProps {
3
3
  columnKey: string;
4
- onSort: (columnKey: string | null, order: string | null) => void;
4
+ onSort: (columnKey?: string, order?: string) => void;
5
5
  sortedInfo: {
6
- columnKey: string | null;
7
- order: string | null;
6
+ columnKey?: string;
7
+ order?: string;
8
8
  };
9
9
  UpIcon?: ComponentType<{
10
10
  style?: React.CSSProperties;
package/dist/index.d.ts CHANGED
@@ -4098,10 +4098,10 @@ declare const FISTableCell: React$1.ForwardRefExoticComponent<ColumnCellProps &
4098
4098
 
4099
4099
  interface FISSorterProps {
4100
4100
  columnKey: string;
4101
- onSort: (columnKey: string | null, order: string | null) => void;
4101
+ onSort: (columnKey?: string, order?: string) => void;
4102
4102
  sortedInfo: {
4103
- columnKey: string | null;
4104
- order: string | null;
4103
+ columnKey?: string;
4104
+ order?: string;
4105
4105
  };
4106
4106
  UpIcon?: ComponentType<{
4107
4107
  style?: React.CSSProperties;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "homepage": "https://vietdiemtran.github.io/fis-component/",
3
3
  "name": "fis-component",
4
- "version": "0.0.53",
4
+ "version": "0.0.54",
5
5
  "description": "",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/esm/index.js",