UNPKG

zp-bee

Version:

zp-bee,是一款基于 Dumi,由 React + TypeScript 开发的组件库 🎉。

19 lines (18 loc) 580 B
import { TreeSelectProps } from 'antd/es/tree-select'; import React from 'react'; import { TreeNodeProps } from 'antd/es'; interface Props extends TreeSelectProps<string> { label: string; className?: string; } interface TreeSelectRef { handleChange: Function; onChange: Function; onFocus: Function; onBlur: Function; } interface CompoundedComponent extends React.ForwardRefExoticComponent<Props & React.RefAttributes<TreeSelectRef>> { TreeNode: React.FC<TreeNodeProps>; } declare const BeeTreeSelect: CompoundedComponent; export default BeeTreeSelect;