children | ReactNode | - | |
className | string | - | The elements class name. |
wrapWith | ReactElement<unknown, string | JSXElementConstructor<any>> | - | |
ref | Ref<HTMLSpanElement> | - | Allows getting a ref to the component instance.
Once the component unmounts, React will set `ref.current` to `null`
(or call the ref with `null` if you passed a callback ref).
@see React Docs |
key | Key | - | |
slot | string | - | A slot name for the component. Slots allow the component to receive props from a parent
component. An explicit `null` value indicates that the local props completely override all
props received from a parent. |
filter | ((textValue: string, inputValue: string, node: Node<object>) => boolean) | - | An optional filter function used to determine if a option should be included in the
autocomplete list. Include this if the items you are providing to your wrapped collection
aren't filtered by default. |
disableAutoFocusFirst | boolean | false | Whether or not to focus the first item in the collection after a filter is performed. Note this
is only applicable if virtual focus behavior is not turned off via `disableVirtualFocus`. |
disableVirtualFocus | boolean | false | Whether the autocomplete should disable virtual focus, instead making the wrapped collection
directly tabbable. |