///
export interface TreeNode {
value: T;
label: string;
children?: Array>;
unfold?: boolean;
defaultSelected?: boolean;
}
export declare enum selectType {
circle = "circle",
box = "box"
}
interface TreeSelectProps {
data: Array>;
isSingle?: boolean;
checkable?: boolean;
expandable?: boolean;
checkboxType?: selectType;
inputWidth?: string;
inputHeight?: string;
displaySelect?: boolean;
placeholder?: string;
needInput?: boolean;
dropDownPosition?: 'bottom' | 'leftBottom' | 'rightBottom';
onSelect?: (selected: Array>) => void;
onExpand?: (expanded: Set) => void;
}
declare function TreeSelect(props: TreeSelectProps): JSX.Element;
declare namespace TreeSelect {
var defaultProps: {
isSingle: boolean;
checkable: boolean;
expandable: boolean;
unfold: boolean;
inputWidth: string;
inputHeight: string;
displaySelect: boolean;
checkboxType: selectType;
dropDownPosition: string;
needInput: boolean;
};
}
export default TreeSelect;