UNPKG

@atlaskit/dynamic-table

Version:

A dynamic table displays rows of data with built-in pagination, sorting, and re-ordering functionality.

15 lines (14 loc) 645 B
import React from 'react'; import { type WithSortedPageRowsProps } from '../hoc/with-sorted-page-rows'; import { type HeadType } from '../types'; interface BodyProps extends WithSortedPageRowsProps { head?: HeadType; highlightedRowIndex?: number | number[]; isFixedSize: boolean; forwardedRef?: React.Ref<HTMLTableSectionElement>; testId?: string; } declare const Body: React.ForwardRefExoticComponent<Omit<BodyProps & import('../hoc/with-sorted-page-rows').TableProps, 'pageRows'> & { forwardedRef?: React.Ref<HTMLTableSectionElement> | undefined; } & React.RefAttributes<HTMLTableSectionElement>>; export default Body;