@gpa-gemstone/react-forms
Version:
React Form modules for gpa webapps
23 lines (22 loc) • 662 B
TypeScript
import { Gemstone } from '@gpa-gemstone/application-typings';
interface IProps<T> extends Gemstone.TSX.Interfaces.IBaseFormProps<T> {
/**
* Options for the select dropdown
* @type {{ Value: string; Label: string }[]}
*/
Options: Gemstone.TSX.Interfaces.ILabelValue<string | number>[];
/**
* Flag to include an empty option in the select dropdown
* @type {boolean}
* @optional
*/
EmptyOption?: boolean;
/**
* Label to display for the empty option
* @type {string}
* @optional
*/
EmptyLabel?: string;
}
export default function Select<T>(props: IProps<T>): JSX.Element;
export {};