UNPKG

jslib-nightly

Version:

SheerID JavaScript Library

31 lines (30 loc) 988 B
import { FormSelectChoice, InputSelectOnKeyDown, FieldId, ExtendedFieldId } from '../../../lib/types/types'; interface InputSelectProps { onChange: any; options: FormSelectChoice[]; fieldId: FieldId | ExtendedFieldId; className?: string; disabled?: boolean; inputId?: string; isErrored?: boolean; onKeyDown?: InputSelectOnKeyDown; placeholder?: string; suppressPlaceholder?: boolean; value?: FormSelectChoice; autoFocus?: boolean; ariaLabel?: string; isRequired?: boolean; } export declare const InputSelectComponent: { ({ className, inputId, disabled, fieldId, isErrored, options, onKeyDown, onChange, placeholder, suppressPlaceholder, value, autoFocus, ariaLabel, isRequired, }: InputSelectProps): JSX.Element; defaultProps: { className: any; disabled: boolean; inputId: any; isErrored: boolean; onKeyDown: any; placeholder: string; value: any; }; }; export {};