/** FormSelect.tsx */ import React from "react"; import { OptionItem } from "../../components/types"; export interface FormSelectProps extends React.HTMLAttributes { /** Error textual content */ errorMessage?: string; /** Displaying Error when triggered by validation */ showErrorMessage?: boolean; /** Help text */ helpText?: string; /** Optional name */ name?: string; /** Optional id */ id?: string; /** Optional FormLabel label */ label?: string; /** Select can be disabled */ disabled?: boolean; /** Select can be mandatory */ required?: boolean; /** Select can allow multiply options */ multiple?: boolean; /** Optional option value */ value?: any; /** Array of items for Select's option */ items: OptionItem[]; /** Validation ref, as per "react-hook-form" */ ref?: any; } declare const FormSelect: React.ForwardRefExoticComponent & React.RefAttributes>; export default FormSelect;