@comparaonline/ui-input-helpers
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

@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} />
);

Dependents (10)

Package Sidebar

Install

npm i @comparaonline/ui-input-helpers

Weekly Downloads

17

Version

3.0.0

License

none

Unpacked Size

11.9 kB

Total Files

10

Last publish

Collaborators

  • gnavarro
  • dsuarez_compa
  • pfariaz
  • ricardo.sosa
  • suarezcumare
  • fverag
  • comparaonline-dev
  • comparaonlineprivate
  • matotias
  • javierlara1989
  • smurua
  • eseceve
  • pablocompara