@fakel/rest-admin
Version:
An application that makes it easier to work with your API
16 lines (15 loc) • 482 B
TypeScript
import React from 'react';
import { FormItemProps } from 'antd/lib/form';
import { InputProps } from './Input';
import { OptionT } from '../../@types';
interface SelectInputProps extends InputProps {
defaultValue?: string;
record?: OptionT[];
disabled?: boolean;
loading?: boolean;
mode?: 'multiple' | 'tags';
placeholder?: string;
options?: OptionT[];
}
declare const SelectInput: React.FC<SelectInputProps & FormItemProps>;
export default SelectInput;