Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mohsensami/react-form


https://github.com/mohsensami/react-form

appwrite react

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Modal React

## Manual Setup

## Demo

## Installation

To use the Modal component, you need to have a React environment set up. You can then add the Modal component files to your project.

The package can be installed via [npm](https://github.com/npm/cli):

```
npm install @mohsensami/react-hook-form
```

## Usage

React Component:

```javascript
import { useForm } from '@mohsensami/react-hook-form';
import {
requiredValidator,
minValidator,
maxValidator,
emailValidator,
} from '@mohsensami/react-hook-form/validators/rules';
import Input from '@mohsensami/react-hook-form/components/Input.js';

const [formState, onInputHandler] = useForm(
{
username: {
value: '',
isValid: false,
},
password: {
value: '',
isValid: false,
},
},
false
);

return (










ورود


);
```

## Props

## Authors

- [@mohsensami](https://github.com/mohsensami)

## Contributing

If you want to contribute to this project and make it better, your help is very welcome. Create an issue or submit a pull request.