UNPKG

@jigoooo/shared-ui

Version:

A reusable React component library and design system with TypeScript support, built on Vite for seamless integration and optimized performance.

8 lines (7 loc) 448 B
import { UseTableInstanceProps } from './table-type-legacy.ts'; export declare function useTableInstance<TColumnData>({ data, columnConfig, pageCount, paginationOptions, onPaginationChange, columnVisibility, otherColumnWidth, }: UseTableInstanceProps<TColumnData>): { tableInstance: import('@tanstack/table-core').Table<TColumnData>; paginatedSizeChange: (newPageSize: number) => void; tableWidth: number; sheetMinWidth: number; };