diff --git a/src/components/table-virtualized/table-virtualized.tsx b/src/components/table-virtualized/table-virtualized.tsx index fb16094c..34c43511 100644 --- a/src/components/table-virtualized/table-virtualized.tsx +++ b/src/components/table-virtualized/table-virtualized.tsx @@ -14,17 +14,15 @@ import { useVirtualizer, VirtualizerOptions } from "@tanstack/react-virtual"; import React from "react"; import { DndProvider } from "react-dnd"; import { HTML5Backend } from "react-dnd-html5-backend"; +import { classNames } from "../../util/class-names"; +import { TableUnvirtualized } from "../table-unvirtualized"; import { DraggableRow } from "./draggable-row/draggable-row"; -import { VirtualizedHeaderGroup } from "./header-group/header-group"; import { ExpandableButtonCell } from "./expandable-button-cell/expandable-button-cell"; -import { TableUnvirtualized } from "../table-unvirtualized"; -import { classNames } from "../../util/class-names"; +import { VirtualizedHeaderGroup } from "./header-group/header-group"; -export interface TableVirtualizedProps { +export interface TableVirtualizedProps { data: TableData[]; - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - // @ts-ignore - columnDefs: ColumnDef[]; + columnDefs: ColumnDef[]; showPlaceholder?: boolean; placeholder?: React.ReactNode; isDraggableRowsEnabled?: boolean;