zp-bee
Version:
zp-bee,是一款基于 Dumi,由 React + TypeScript 开发的组件库 🎉。
20 lines (19 loc) • 696 B
TypeScript
import { TreeSelectProps } from 'antd/es/tree-select';
import React from 'react';
import { TreeNodeProps } from 'antd/es';
export interface BeeTreeMultiSelectProps extends TreeSelectProps<string | string[]> {
label: string;
injectLabel?: string | string[];
className?: string;
}
interface TreeMultiSelectRef {
handleChange: Function;
onChange: Function;
onFocus: Function;
onBlur: Function;
}
interface CompoundedComponent extends React.ForwardRefExoticComponent<BeeTreeMultiSelectProps & React.RefAttributes<TreeMultiSelectRef>> {
MultiTreeNode: React.FC<TreeNodeProps>;
}
declare const BeeTreeMultiSelect: CompoundedComponent;
export default BeeTreeMultiSelect;