UNPKG

choerodon-ui

Version:

An enterprise-class UI design language and React-based implementation

27 lines (26 loc) 935 B
import { Component } from 'react'; import { TreeSelectProps } from './interface'; import { SelectLocale } from '../select'; import ConfigContext, { ConfigContextValue } from '../config-provider/ConfigContext'; export { TreeData, TreeSelectProps } from './interface'; export default class TreeSelect extends Component<TreeSelectProps, any> { static get contextType(): typeof ConfigContext; static displayName: string; static TreeNode: any; static SHOW_ALL: any; static SHOW_PARENT: any; static SHOW_CHILD: any; static defaultProps: { transitionName: string; choiceTransitionName: string; showSearch: boolean; }; context: ConfigContextValue; private rcTreeSelect; constructor(props: TreeSelectProps); focus(): void; blur(): void; saveTreeSelect: (node: any) => void; renderTreeSelect: (locale: SelectLocale) => JSX.Element; render(): JSX.Element; }