zp-bee
Version:
zp-bee,是一款基于 Dumi,由 React + TypeScript 开发的组件库 🎉。
15 lines (14 loc) • 475 B
TypeScript
import React from 'react';
export declare type SelectGenParams = {
list?: any[];
selectProps: Record<string, any>;
inject: Map<Symbol, Record<string, Function>>;
};
interface Props {
value?: string | number;
defaultValue?: string | number;
style?: React.CSSProperties;
fetchDataSource?: () => Promise<any>;
}
declare const selectGen: (params: SelectGenParams) => React.MemoExoticComponent<(props: Props) => JSX.Element>;
export default selectGen;