UNPKG

hightable

Version:

A dynamic windowed scrolling table component for react

14 lines (13 loc) 460 B
import { type ReactNode } from 'react'; import type { HighTableProps } from '../types.js'; type Props = Pick<HighTableProps, 'orderBy' | 'onOrderByChange'> & { /** Child components */ children: ReactNode; }; /** * Handles sorting. * * Provides the current orderBy state and a function to toggle a column. */ export declare function OrderByProvider({ children, orderBy, onOrderByChange }: Props): import("react/jsx-runtime").JSX.Element; export {};