widenarrow-ui 2.0.17 → 2.0.19

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.
package/lib/index.d.ts CHANGED
@@ -1083,7 +1083,20 @@ interface CellInterface {
1083
1083
  customCellComponent?: (row: any) => ReactNode | JSX.Element;
1084
1084
  }
1085
1085
  interface SortableTableProps {
1086
- cells: Array<CellInterface>;
1086
+ cells: Array<{
1087
+ key: string;
1088
+ title: string;
1089
+ width: string;
1090
+ icon?: Partial<IconTypes>;
1091
+ disableSort?: boolean;
1092
+ alignRight?: boolean;
1093
+ alignCenter?: boolean;
1094
+ withEllipsis?: boolean;
1095
+ toolTip?: string;
1096
+ className?: string;
1097
+ customHeaderCellComponent?: (cell: CellInterface) => ReactNode | JSX.Element;
1098
+ customCellComponent?: (row: any) => ReactNode | JSX.Element;
1099
+ }>;
1087
1100
  data: Array<any>;
1088
1101
  sortBy: Array<{
1089
1102
  keyName: string;