Files
calendar/packages/types/tanstack-table.d.ts
T
Eunjae LeeandGitHub 27cd2457e8 fix: fix UI regression related to DataTable (#17943)
* fix: fix UI regression regarding DataTable

* update comment
2024-12-02 18:54:58 +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;
}
}