minishouyin/node_modules/rc-table/es/utils/expandUtil.d.ts
2025-11-12 11:35:57 +08:00

6 lines
625 B
TypeScript

import * as React from 'react';
import type { RenderExpandIconProps, Key, GetRowKey, ExpandableConfig } from '../interface';
export declare function renderExpandIcon<RecordType>({ prefixCls, record, onExpand, expanded, expandable, }: RenderExpandIconProps<RecordType>): React.JSX.Element;
export declare function findAllChildrenKeys<RecordType>(data: readonly RecordType[], getRowKey: GetRowKey<RecordType>, childrenColumnName: string): Key[];
export declare function computedExpandedClassName<RecordType>(cls: ExpandableConfig<RecordType>['expandedRowClassName'], record: RecordType, index: number, indent: number): string;