zent
Version:
一套前端设计语言和基于React的实现
6 lines (5 loc) • 552 B
TypeScript
/// <reference types="react" />
import { IFormComponentProps } from '../shared';
import { ISelectProps, ISelectItem } from '../../select';
export declare type IFormSelectFieldProps<Key extends string | number = string | number, T extends ISelectItem<Key> = ISelectItem<Key>> = IFormComponentProps<(T | null) | T[], Omit<ISelectProps<Key, T>, 'value' | 'onChange'>>;
export declare function FormSelectField<Key extends string | number = string | number, T extends ISelectItem<Key> = ISelectItem<Key>>(props: IFormSelectFieldProps<Key, T>): JSX.Element;