Files
NapCatQQ/.pnpm-store/v3/files/ca/47b645be6ffbfa9949b7a4e5dedd952571be006bcd514184f4e08dd91669e9f5c345cd836d14270dbd669f22242fbf3ba8fa35ea688235f6c5f29fa99a26a0
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

37 lines
1.3 KiB
Plaintext

import * as _heroui_system from '@heroui/system';
import { HTMLHeroUIProps } from '@heroui/system';
import { ReactNode } from 'react';
import { GridNode } from '@react-types/grid';
import { ValuesType } from './use-table.js';
import '@react-types/table';
import '@heroui/theme';
import '@react-stately/virtualizer';
import '@react-types/shared';
import '@react-stately/table';
import '@react-aria/table';
import '@heroui/react-utils';
import '@heroui/checkbox';
type SortIconProps = {
"aria-hidden"?: boolean;
"data-direction"?: "ascending" | "descending";
"data-visible"?: boolean | "true" | "false";
className?: string;
};
interface TableColumnHeaderProps<T = object> extends HTMLHeroUIProps<"th"> {
slots: ValuesType["slots"];
state: ValuesType["state"];
classNames?: ValuesType["classNames"];
/**
* Custom Icon to be displayed in the table header - overrides the default chevron one
*/
sortIcon?: ReactNode | ((props: SortIconProps) => ReactNode);
/**
* The table node to render.
*/
node: GridNode<T>;
}
declare const TableColumnHeader: _heroui_system.InternalForwardRefRenderFunction<"th", TableColumnHeaderProps<object>, never>;
export { type SortIconProps, type TableColumnHeaderProps, TableColumnHeader as default };