@devtron-labs/devtron-fe-common-lib 0.6.1-beta-4 → 0.6.1-beta-6

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.
@@ -29,5 +29,5 @@ import { SortableTableHeaderCellProps } from './types';
29
29
  * />
30
30
  * ```
31
31
  */
32
- declare const SortableTableHeaderCell: ({ isSorted, triggerSorting, sortOrder, title, disabled, isSortable, showTippyOnTruncate, id, handleResize, }: SortableTableHeaderCellProps) => JSX.Element;
32
+ declare const SortableTableHeaderCell: ({ isSorted, triggerSorting, sortOrder, title, disabled, isSortable, showTippyOnTruncate, id, handleResize, isResizable, }: SortableTableHeaderCellProps) => JSX.Element;
33
33
  export default SortableTableHeaderCell;
@@ -14,12 +14,19 @@ export type SortableTableHeaderCellProps = {
14
14
  * Unique identifier for the column
15
15
  */
16
16
  id: string | number;
17
+ /**
18
+ * If true, the cell is resizable
19
+ *
20
+ * @default false
21
+ */
22
+ isResizable: true | boolean;
17
23
  /**
18
24
  * Resize handler for the table
19
25
  */
20
26
  handleResize: (id: string | number, deltaChange: number) => void;
21
27
  } | {
22
28
  id?: never;
29
+ isResizable?: false | undefined;
23
30
  handleResize?: never;
24
31
  }) & ({
25
32
  /**