UNPKG

ar-design

Version:

AR Design is a (react | nextjs) ui library.

35 lines (34 loc) 1.1 kB
import React, { Dispatch, SetStateAction } from "react"; import { TableColumnType } from "../../../libs/types"; import { Config, Sort } from "./IProps"; declare const MemoizedTHeadCell: <T extends object>({ refs, states, methods, columns, config, }: { refs: { propertiesButton: React.MutableRefObject<(HTMLSpanElement | null)[]>; }; states: { open: { get: boolean; set: Dispatch<SetStateAction<boolean>>; }; sort: { get: Sort<T>[]; set: Dispatch<SetStateAction<Sort<T>[]>>; }; sortCurrentColumn: { set: React.Dispatch<React.SetStateAction<TableColumnType<T> | null>>; }; propertiesButtonCoordinate: { set: React.Dispatch<React.SetStateAction<{ x: number; y: number; }>>; }; }; methods: { handleScroll: () => void; }; columns: TableColumnType<T>[]; config: Config<T>; }) => React.JSX.Element; declare const THeadCell: typeof MemoizedTHeadCell; export default THeadCell;