shineout
Version:
Shein 前端组件库
17 lines (16 loc) • 677 B
TypeScript
/// <reference types="react" />
import { PureComponent } from '../component';
import { BaseTransferProps, SelectedArr, IndexType } from './Props';
import { KeygenResult } from '../@types/common';
interface TransferState {
selecteds: SelectedArr;
}
declare class Transfer<DataItem, Value extends any[]> extends PureComponent<BaseTransferProps<DataItem, Value>, TransferState> {
static defaultProps: any;
constructor(props: BaseTransferProps<DataItem, Value>);
getLoading(index: IndexType): boolean | undefined;
getSelected(): SelectedArr;
setSelecteds(index: IndexType, value: KeygenResult[]): void;
render(): JSX.Element;
}
export default Transfer;