UNPKG

@alifd/meet-react

Version:

Fusion Mobile React UI System Component

34 lines (33 loc) 1.07 kB
import { ReactNode } from 'react'; import { HTMLAttributesWeak } from '../utils/types'; export interface TransferData { label: string; value: string; disabled?: boolean; } type ValueType = string[]; export interface MainDataSource { label: string; value: string; disabled?: boolean; isChecked?: boolean; } export interface TransferProps extends HTMLAttributesWeak { dataSource?: TransferData[]; tabIndex?: number; value?: ValueType; defaultValue?: ValueType; disabled?: boolean; leftDisabled?: boolean; rightDisabled?: boolean; titles?: ValueType; notFoundContent?: string | ReactNode; defaultLeftChecked?: ValueType; defaultRightChecked?: ValueType; buttonText?: string; selectItemText?: string; tabChange?: (e?: any, item?: any, index?: number) => void; onChange?: (rightValue?: any, rightItem?: MainDataSource, extra?: any) => void; } declare const _default: import("react").ForwardRefExoticComponent<TransferProps & import("react").RefAttributes<any>>; export default _default;