Placeholder text for the input.
ARIA label applied to the root [role=search] wrapper.
OptionalinputARIA label of the input itself. Defaults to placeholder.
ARIA label of the submit (magnifier) button.
ARIA label of the clear (×) button.
OptionalextraOptional extra class names applied on the root wrapper.
OptionalinputOptional input type (default "text").
OptionalonCalled whenever the input value changes.
OptionalonCalled when the user submits (clicks submit button or presses Enter). The current input value is passed as argument.
OptionalonCalled when the user clears the input (clicks × or presses Escape on a non-empty input). The implementation already empties the value before invoking the callback.
Options accepted by createPillSearchInput.