Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/mhmtmutlu/react-inputs-validator
- Owner: MhmtMutlu
- Created: 2021-08-01T12:36:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-18T17:30:39.000Z (over 3 years ago)
- Last Synced: 2024-12-05T10:37:48.543Z (about 1 month ago)
- Topics: reactjs, validation-library
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/react-inputs-validator
- Size: 677 KB
- Stars: 7
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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