Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 675 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 675 Bytes

Rtform

Rtform is a library to help you validate user input in a declarative way using react hooks. works for both ReactJS and Reac-Native.

Examples

you can see examples folder

ReactJS example

React-Native example

Installation

run npm install rtform

What is included?

  • basic user input validation (emal, required, regex)
  • user input correction trimming, masking for credit cards
  • support for async validation
  • ability to add custom validators very easily