UNPKG

hightable

Version:

A dynamic windowed scrolling table component for react

20 lines (19 loc) 1.25 kB
import type { ColumnConfiguration } from '../../helpers/columnConfiguration.js'; import type { Selection } from '../../helpers/selection.js'; import type { OrderBy } from '../../helpers/sort.js'; import type { CellNavigationProviderProps } from '../../providers/CellNavigationProvider.js'; import { type MaybeHiddenColumn } from '../../providers/ColumnVisibilityStatesProvider.js'; import type { RowsAndColumnsProviderProps } from '../../providers/RowsAndColumnsProvider.js'; import type { SliceProps } from './Slice.js'; export type WrapperProps = { className?: string; styled?: boolean; cacheKey?: string; columnConfiguration?: ColumnConfiguration; orderBy?: OrderBy; selection?: Selection; onColumnsVisibilityChange?: (columns: Record<string, MaybeHiddenColumn>) => void; onOrderByChange?: (orderBy: OrderBy) => void; onSelectionChange?: (selection: Selection) => void; } & RowsAndColumnsProviderProps & CellNavigationProviderProps & SliceProps; export default function Wrapper({ columnConfiguration, cacheKey, className, focus, orderBy, padding, overscan, selection, styled, onColumnsVisibilityChange, onOrderByChange, onSelectionChange, ...rest }: WrapperProps): import("react/jsx-runtime").JSX.Element;