@perfma/heaven
Version:
An UI Framework base [Ant Design V4](https://ant.design/components/overview-cn/) for React.
23 lines (22 loc) • 798 B
TypeScript
import { TransferProps } from 'antd';
import './index.less';
export interface TransferItem {
key?: string;
title?: string;
description?: string;
disabled?: boolean;
[name: string]: any;
}
declare const ProTransfer: {
(props: TransferProps<TransferItem>): JSX.Element;
List: typeof import("antd/lib/transfer/list").default;
Operation: ({ disabled, moveToLeft, moveToRight, leftArrowText, rightArrowText, leftActive, rightActive, className, style, direction, oneWay, }: import("antd/lib/transfer").TransferOperationProps) => JSX.Element;
Search: typeof import("antd/lib/transfer/search").default;
defaultProps: {
dataSource: never[];
locale: {};
showSearch: boolean;
listStyle: () => void;
};
};
export default ProTransfer;