first commit

This commit is contained in:
rayd1o
2026-03-05 11:46:58 +08:00
commit e7033775d8
20657 changed files with 1988940 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
import type { ExpandableConfig, ExpandableType, GetRowKey, Key, RenderExpandIcon, TriggerEventHandler } from '../interface';
import type { TableProps } from '../Table';
export default function useExpand<RecordType>(props: TableProps<RecordType>, mergedData: readonly RecordType[], getRowKey: GetRowKey<RecordType>): [
expandableConfig: ExpandableConfig<RecordType>,
expandableType: ExpandableType,
expandedKeys: Set<Key>,
expandIcon: RenderExpandIcon<RecordType>,
childrenColumnName: string,
onTriggerExpand: TriggerEventHandler<RecordType>
];