@comparaonline/ui-input-helpers
v3.70.0
Published
Utility helpers to improve the input, using the native HTML attributes like `autocomplete` and `inputmode`
Downloads
338
Maintainers
Keywords
Readme
@comparaonline/ui-input-helpers
Utility helpers to improve the input, using the native HTML attributes like autocomplete
and inputmode
Installation
yarn add @comparaonline/ui-input-helpers
Usage
import { AutoCompleteProps, InputModeProps } from '@comparaonline/ui-input-helpers';
const inputProps = {
...InputModeProps.numeric,
...AutoCompleteProps.email
}
const Input = (props) => (
<input {...inputProps} {...prop} />
);