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

16 lines
610 B
TypeScript

import * as React from 'react';
import type { KeyWiseTransferItem } from '.';
type ListItemProps<RecordType> = {
renderedText?: string | number;
renderedEl: React.ReactNode;
disabled?: boolean;
checked?: boolean;
prefixCls: string;
onClick: (item: RecordType, e: React.MouseEvent<HTMLLIElement, MouseEvent>) => void;
onRemove?: (item: RecordType) => void;
item: RecordType;
showRemove?: boolean;
};
declare const _default: React.MemoExoticComponent<(<RecordType extends KeyWiseTransferItem>(props: ListItemProps<RecordType>) => React.JSX.Element)>;
export default _default;