import * as React from 'react'; import { ReactNode } from 'react'; import 'union-design/lib/transfer/styles/css'; export interface TransferProps { /** * 类型 */ left_title?: string; right_title?: string; dataSource?: TransferItem[]; targetKeys?: string[]; selectedKeys?: []; listStyle?: JSON; showSearch?: boolean; operation_to_right?: string; operation_to_left?: string; disabled?: boolean; showSelectAll?: boolean; render?: (record: any) => ReactNode; onSelectChange?: (sourceSelectedKeys: any, targetSelectedKeys: any) => void; onChange?: (targetKeys: any, direction: any, moveKeys: any) => void; onScroll?: (direction: any, event: any) => void; onSearch?: (direction: 'left' | 'right', value: string) => void; filterOption?: (inputValue: any, option: any) => boolean; className?: string; style?: object; } interface TransferItem { key: string; title: string; description?: string; disabled?: boolean; } declare const Transfer: React.FC; export default Transfer;