UNPKG

primereact

Version:

A rich set of premium UI Components for React.

13 lines (12 loc) 1 kB
import * as React from 'react'; /** * Wraps header content to act as a drop-target for column reorder. Emits `data-drop-active` and * `data-drop-side` attributes that the theme styles by default; the `children` render-prop form * exposes the same state for full visual control. * * The `<th>` itself remains the drag source + drop handler (via `DataTable.THeadCell`); this * component is purely a feedback layer. */ export declare const DataTableColumnReorderTarget: (<I extends import("@primereact/types/core").ComponentInstance, T extends React.ElementType>(inProps?: (import("@primereact/types/core").GlobalComponentProps<I, unknown, T, unknown, unknown> & {} & {} & Omit<import("@primereact/types").ExtractProps<T>, keyof import("@primereact/types/core").GlobalComponentProps<I_1, P, T_1, unknown, unknown>> & import("@primereact/types/primitive/datatable").DataTableColumnReorderTargetProps) | undefined) => React.JSX.Element | null) & Record<string, unknown> & { displayName?: string; };