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

    Keywords

    none

    Install

    npm i @comparaonline/ui-input-helpers

    DownloadsWeekly Downloads

    32

    Version

    3.0.0

    License

    none

    Unpacked Size

    11.9 kB

    Total Files

    10

    Last publish

    Collaborators

    • ricardo.sosa
    • gnza
    • suarezcumare
    • fverag
    • comparaonline-dev
    • comparaonlineprivate
    • matotias
    • javierlara1989
    • smurua
    • eseceve
    • mchauca
    • pablocompara