Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iamthesiz/email-autocomplete-input
⚡️ Email autocomplete input
https://github.com/iamthesiz/email-autocomplete-input
Last synced: 1 day ago
JSON representation
⚡️ Email autocomplete input
- Host: GitHub
- URL: https://github.com/iamthesiz/email-autocomplete-input
- Owner: iamthesiz
- Created: 2017-11-09T22:10:57.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-24T06:28:01.000Z (over 5 years ago)
- Last Synced: 2025-01-26T12:01:47.552Z (4 days ago)
- Language: JavaScript
- Homepage: https://alex-cory.github.io/email-autocomplete-input
- Size: 61.2 MB
- Stars: 11
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Email Autocomplete Input
========================#### Bult using `mobx`, and `react`
Play with it [here](https://alex-cory.github.io/email-autocomplete-input/)!
Installation
------------`yarn add email-autocomplete-input` or `npm i -S email-autocomplete-input`
Usage
-----
```js
import EmailAutocompleteInput from 'email-autocomplete-input'
import { render } from 'react-dom'
import { observable } from 'mobx'const email = observable('')
render(
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. |