diff --git a/types/react-bootstrap-typeahead/index.d.ts b/types/react-bootstrap-typeahead/index.d.ts index 005a7633ed..ad64d0941a 100644 --- a/types/react-bootstrap-typeahead/index.d.ts +++ b/types/react-bootstrap-typeahead/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for react-bootstrap-typeahead 3.1 +// Type definitions for react-bootstrap-typeahead 3.2 // Project: https://github.com/ericgio/react-bootstrap-typeahead // Definitions by: Guymestef // Rajab Shakirov @@ -70,9 +70,15 @@ export interface TypeaheadProps { /* Props to be applied directly to the input. onBlur, onChange, onFocus, and onKeyDown are ignored. */ inputProps?: object; + /* Bootstrap 4 only. Adds the `is-invalid` classname to the `form-control`. */ + isInvalid?: boolean; + /* Indicate whether an asynchronous data fetch is happening. */ isLoading?: boolean; + /* Bootstrap 4 only. Adds the `is-valid` classname to the `form-control`. */ + isValid?: boolean; + /* Specify which option key to use for display or a render function. By default, the selector will use the label key. */ labelKey?: string | ((option: T | string) => string);