ponchojs
Version:
Poncho
15 lines (14 loc) • 452 B
TypeScript
/// <reference types="react" />
import { CommonInputProps } from './Form';
export declare type OptionsProps = {
id: string | number;
title?: string;
};
interface Props extends CommonInputProps<string | number> {
placeholder?: string;
required?: boolean;
options?: OptionsProps[];
loading?: boolean;
}
export declare const SelectInput: import("react").MemoExoticComponent<(props: Props) => JSX.Element>;
export {};