UNPKG

primereact

Version:

A rich set of premium UI Components for React.

12 lines (11 loc) 520 B
export interface DataTableTHeadCellContextValue { /** * Lets a descendant (e.g. DataTable.Sort) report whether it is currently sorted, * so the owning <th> can reflect it with a sorted class. */ setSorted: (sorted: boolean) => void; } export declare const DataTableTHeadCellProvider: ({ value, children }: { value: DataTableTHeadCellContextValue; children: React.ReactNode; }) => import("react").JSX.Element, useDataTableTHeadCellContext: () => DataTableTHeadCellContextValue | undefined;