Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mhmtmutlu/react-inputs-validator

Simple input validator React component.
https://github.com/mhmtmutlu/react-inputs-validator

reactjs validation-library

Last synced: 5 days ago
JSON representation

Simple input validator React component.

Awesome Lists containing this project

README

        

# react-inputs-validator

> Simple input validator React component

[![NPM](https://img.shields.io/npm/v/react-inputs-validator.svg)](https://www.npmjs.com/package/react-inputs-validator) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save react-inputs-validator
```

## Usage

```jsx
import { ValidatedInput } from 'react-inputs-validator'

function App(){
return(
<>

>
)
}

Other Props
- message="Must be a valid e-mail!" // Info message for input
- minLength="0" // Min length of a password
- maxLength="10" // Max length of a password
```

## License

MIT

## Contributors