PromoCursed/node_modules/antd/lib/transfer/hooks/useData.d.ts
2024-08-20 23:25:37 +04:00

6 lines
339 B
TypeScript

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;