PromoCursed/node_modules/antd/lib/transfer/hooks/useData.d.ts

6 lines
339 B
TypeScript
Raw Normal View History

2024-08-20 23:25:37 +04:00
import type { TransferProps } from '..';
import type { AnyObject } from '../../_util/type';
import type { TransferKey } from '../interface';
declare const useData: <RecordType extends AnyObject>(dataSource?: RecordType[], rowKey?: TransferProps<RecordType>["rowKey"], targetKeys?: TransferKey[]) => RecordType[][];
export default useData;