UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

6 lines (5 loc) 339 B
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;