Wraps the HTML <input> element and creates an onChange function using the given setValue function. Requires the
input to be a controlled input.
Automatically removes leading and trailing whitespace from the value on blur unless allowed with the
allowLeadingWhitespace and allowTrailingWhitespace props.
Wraps the HTML
<input>element and creates anonChangefunction using the givensetValuefunction. Requires the input to be a controlled input.Automatically removes leading and trailing whitespace from the value on blur unless allowed with the
allowLeadingWhitespaceandallowTrailingWhitespaceprops.