@aimake/nanod
Version:
## 设计模式 NANO DESIGN 是面向于企业级中台化应用的解决方案。服务于 ToB 和 ToE 类型的单页应用,应用于各产品中从而产出了一套设计及前端规范。
25 lines (24 loc) • 977 B
TypeScript
import * as React from 'react';
import { TreeSelectProps } from './interface';
import { ConfigConsumerProps } from '../config-provider';
import { AntTreeNodeProps } from '../tree';
export { TreeNode, TreeSelectProps } from './interface';
export default class TreeSelect extends React.Component<TreeSelectProps, any> {
static TreeNode: any;
static SHOW_ALL: any;
static SHOW_PARENT: any;
static SHOW_CHILD: any;
static defaultProps: {
transitionName: string;
choiceTransitionName: string;
showSearch: boolean;
};
private rcTreeSelect;
constructor(props: TreeSelectProps);
focus(): void;
blur(): void;
saveTreeSelect: (node: any) => void;
renderSwitcherIcon: (prefixCls: string, { isLeaf, loading }: AntTreeNodeProps) => JSX.Element | null;
renderTreeSelect: ({ getPopupContainer: getContextPopupContainer, getPrefixCls, renderEmpty, }: ConfigConsumerProps) => JSX.Element;
render(): JSX.Element;
}