antd-mobile
Version:
<img src="https://gw.alipayobjects.com/mdn/rms_ee68a8/afts/img/A*hjjDS5Yy-ooAAAAAAAAAAAAAARQnAQ" alt="logo" width="100%" />
20 lines (19 loc) • 645 B
TypeScript
import { FC } from 'react';
import { NativeProps } from '../../utils/native-props';
import { TreeSelectOption } from '.';
export declare type MultipleProps = {
options: TreeSelectOption[];
defaultValue?: string[];
value?: string[];
onChange?: (value: string[], nodes: TreeSelectOption[]) => void;
selectAllText?: string[];
fieldNames?: {
label: string;
value: string;
children: string;
};
expandKeys?: string[];
defaultExpandKeys?: string[];
onExpand?: (expandedKeys: string[], nodes: TreeSelectOption[]) => void;
} & NativeProps;
export declare const Multiple: FC<MultipleProps>;