Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
react-email-misspelled
Advanced tools
Readme
This is a react wrapper for email-misspelled package
Check the misspelled email's domain and return a list (or first) of matching domain suggestions sorted by corrections needed
The string comparison is based on this algorithm
Install with npm:
npm i react-email-misspelled --save
Install with yarn:
yarn add react-email-misspelled
This component contains a div with a text input and the suggestions list
To use this components you just need to import the component and the domains list you want to check
import { EmailMisspelledWithInput, top100 } from "react-email-misspelled"
export default FancyComponent () => {
return <EmailMisspelledWithInput domains={top100} />
}
label
Type | Required | Description |
---|---|---|
string | false | String display in the label element |
import { EmailMisspelledWithInput, top100 } from "react-email-misspelled"
export default FancyComponent () => {
return <EmailMisspelledWithInput
domains={top100}
label="Your email address"
/>
}
This will just return a div with the more accurate result
To use this components you just need to import the component and the domains list you want to check
import { EmailMisspelledSuggestFirst, top100 } from "react-email-misspelled"
export default FancyComponent () => {
return <EmailMisspelledSuggestFirst domains={top100} />
}
label
Type | Required | Description |
---|---|---|
string | false | Add your classname |
import { EmailMisspelledWithInput, top100 } from "react-email-misspelled"
export default FancyComponent () => {
return <EmailMisspelledSuggestFirst
domains={top100}
className="foo bar"
/>
}
This will just return a div with the more accurate result
To use this components you just need to import the component and the domains list you want to check
import { EmailMisspelledSuggestList, top100 } from "react-email-misspelled"
export default FancyComponent () => {
return <EmailMisspelledSuggestList domains={top100} />
}
label
Type | Required | Description |
---|---|---|
string | false | Add your classname |
import { EmailMisspelledSuggestList, top100 } from "react-email-misspelled"
export default FancyComponent () => {
return <EmailMisspelledSuggestList
domains={top100}
className="foo bar"
/>
}
description...
TypeName
import { TypeName } from "react-email-misspelled/typings"
//type
FAQs
A react wrapper for email-misspelled package. Check misspell email's domain and return a list of matching domain suggestions
The npm package react-email-misspelled receives a total of 1 weekly downloads. As such, react-email-misspelled popularity was classified as not popular.
We found that react-email-misspelled demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.