Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mohsensami/react-form
https://github.com/mohsensami/react-form
appwrite react
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/mohsensami/react-form
- Owner: mohsensami
- Created: 2023-03-29T07:09:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-14T19:41:27.000Z (3 months ago)
- Last Synced: 2024-10-31T17:45:32.793Z (about 2 months ago)
- Topics: appwrite, react
- Language: TypeScript
- Homepage: https://chat-sami.netlify.app/
- Size: 571 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.