UNPKG

zp-bee

Version:

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

20 lines (19 loc) 663 B
import { SelectProps, SelectValue } from '../bee-select/select'; import React from 'react'; import { OptionProps } from 'rc-select/lib/Option'; interface SelectRef { onFocus: Function; onBlur: Function; onChange: Function; onChangeNoPenetrate: Function; } interface CompoundedComponent extends React.ForwardRefExoticComponent<BeeMultiSelectProps & React.RefAttributes<SelectRef>> { Option: React.FC<OptionProps>; } export interface BeeMultiSelectProps extends SelectProps<SelectValue> { label: string; maxTagTextSize?: number; required?: boolean; } declare const BeeMultiSelect: CompoundedComponent; export default BeeMultiSelect;