Nefarious Pomegranate Magnate
    Wondering what’s next for npm?Check out our public roadmap! »

    email-autocomplete-input

    0.2.4 • Public • Published

    Email Autocomplete Input

    Bult using mobx, and react

    Play with it here!

    Installation

    yarn add email-autocomplete-input or npm i -S email-autocomplete-input

    Usage

    import EmailAutocompleteInput from 'email-autocomplete-input'
    import { render } from 'react-dom'
    import { observable } from 'mobx'
     
    const email = observable('')
     
    render(
      <EmailAutocompleteInput value={email} onChange={value => email.set(value)} />,
      document.body
    )

    Props

    Props Description
    validate This will highlight the input with a red, yellow, or green border if the email is valid.
    domains This will add additional domains to the autocomplete.

    Install

    npm i email-autocomplete-input

    DownloadsWeekly Downloads

    30

    Version

    0.2.4

    License

    MIT

    Last publish

    Collaborators

    • avatar