Files
calendar/packages/types/tanstack-table.d.ts
T
Keith WilliamsandGitHub c41ba9d984 revert: "feat: refactor filters on insights response table (#17796)" (#18024)
* revert: "feat: refactor filters on insights response table (#17796)"

This reverts commit 5d88858995.

* Put back the search columns and options english terms
2024-12-05 17:29:09 +00:00

17 lines
482 B
TypeScript

import "@tanstack/react-table";
declare module "@tanstack/table-core" {
interface ColumnMeta<TData extends RowData, TValue> {
sticky?: {
position: "left" | "right";
gap?: number;
};
filterType?: "select" | "text";
// `autoWidth` can make the column size dynamic,
// allowing each row to have a different width based on its content.
// As a result, scrolling may be flaky, unless the content size is consistent.
autoWidth?: boolean;
}
}