📝 Update README
This commit is contained in:
		| @@ -16,13 +16,15 @@ | ||||
|  | ||||
| **react-component-form** is a lightweight form component for [React.js](https://reactjs.org/), it allows you to get the inputs values without state with onChange or onSubmit props. | ||||
|  | ||||
| You can test the library with this link : [https://divlo.github.io/react-component-form/](https://divlo.github.io/react-component-form/). | ||||
|  | ||||
| ## 💾 Install | ||||
|  | ||||
| ```bash | ||||
| npm install --save react-component-form | ||||
| ``` | ||||
|  | ||||
| ## ⚙ Usage | ||||
| ## ⚙️ Usage | ||||
|  | ||||
| ```tsx | ||||
| import React from 'react' | ||||
|   | ||||
							
								
								
									
										62
									
								
								example/package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										62
									
								
								example/package-lock.json
									
									
									
										generated
									
									
									
								
							| @@ -12743,13 +12743,7 @@ | ||||
|         }, | ||||
|         "react-dom": { | ||||
|           "version": "file:https:/registry.npmjs.org/react-dom/-/react-dom-16.13.1.tgz", | ||||
|           "integrity": "sha512-81PIMmVLnCNLO/fFOQxdQkvEq/+Hfpv24XNJfpyZhTRfO0QcmQIF/PgCa1zCOj2w1hrn12MFLyaJ/G0+Mxtfag==", | ||||
|           "requires": { | ||||
|             "loose-envify": "^1.1.0", | ||||
|             "object-assign": "^4.1.1", | ||||
|             "prop-types": "^15.6.2", | ||||
|             "scheduler": "^0.19.1" | ||||
|           } | ||||
|           "integrity": "sha512-81PIMmVLnCNLO/fFOQxdQkvEq/+Hfpv24XNJfpyZhTRfO0QcmQIF/PgCa1zCOj2w1hrn12MFLyaJ/G0+Mxtfag==" | ||||
|         }, | ||||
|         "react-error-overlay": { | ||||
|           "version": "6.0.7", | ||||
| @@ -12763,56 +12757,7 @@ | ||||
|         }, | ||||
|         "react-scripts": { | ||||
|           "version": "file:https:/registry.npmjs.org/react-scripts/-/react-scripts-3.4.1.tgz", | ||||
|           "integrity": "sha512-JpTdi/0Sfd31mZA6Ukx+lq5j1JoKItX7qqEK4OiACjVQletM1P38g49d9/D0yTxp9FrSF+xpJFStkGgKEIRjlQ==", | ||||
|           "requires": { | ||||
|             "@svgr/webpack": "4.3.3", | ||||
|             "@typescript-eslint/eslint-plugin": "^2.10.0", | ||||
|             "@typescript-eslint/parser": "^2.10.0", | ||||
|             "babel-eslint": "10.1.0", | ||||
|             "babel-jest": "^24.9.0", | ||||
|             "babel-loader": "8.1.0", | ||||
|             "babel-plugin-named-asset-import": "^0.3.6", | ||||
|             "babel-preset-react-app": "^9.1.2", | ||||
|             "camelcase": "^5.3.1", | ||||
|             "case-sensitive-paths-webpack-plugin": "2.3.0", | ||||
|             "css-loader": "3.4.2", | ||||
|             "dotenv": "8.2.0", | ||||
|             "dotenv-expand": "5.1.0", | ||||
|             "eslint": "^6.6.0", | ||||
|             "eslint-config-react-app": "^5.2.1", | ||||
|             "eslint-loader": "3.0.3", | ||||
|             "eslint-plugin-flowtype": "4.6.0", | ||||
|             "eslint-plugin-jsx-a11y": "6.2.3", | ||||
|             "eslint-plugin-react-hooks": "^1.6.1", | ||||
|             "file-loader": "4.3.0", | ||||
|             "fs-extra": "^8.1.0", | ||||
|             "html-webpack-plugin": "4.0.0-beta.11", | ||||
|             "identity-obj-proxy": "3.0.0", | ||||
|             "jest": "24.9.0", | ||||
|             "jest-environment-jsdom-fourteen": "1.0.1", | ||||
|             "jest-resolve": "24.9.0", | ||||
|             "jest-watch-typeahead": "0.4.2", | ||||
|             "mini-css-extract-plugin": "0.9.0", | ||||
|             "optimize-css-assets-webpack-plugin": "5.0.3", | ||||
|             "pnp-webpack-plugin": "1.6.4", | ||||
|             "postcss-flexbugs-fixes": "4.1.0", | ||||
|             "postcss-loader": "3.0.0", | ||||
|             "postcss-normalize": "8.0.1", | ||||
|             "postcss-preset-env": "6.7.0", | ||||
|             "postcss-safe-parser": "4.0.1", | ||||
|             "react-app-polyfill": "^1.0.6", | ||||
|             "react-dev-utils": "^10.2.1", | ||||
|             "resolve-url-loader": "3.1.1", | ||||
|             "sass-loader": "8.0.2", | ||||
|             "style-loader": "0.23.1", | ||||
|             "terser-webpack-plugin": "2.3.5", | ||||
|             "ts-pnp": "1.1.6", | ||||
|             "url-loader": "2.3.0", | ||||
|             "webpack": "4.42.0", | ||||
|             "webpack-dev-server": "3.10.3", | ||||
|             "webpack-manifest-plugin": "2.2.0", | ||||
|             "workbox-webpack-plugin": "4.3.1" | ||||
|           } | ||||
|           "integrity": "sha512-JpTdi/0Sfd31mZA6Ukx+lq5j1JoKItX7qqEK4OiACjVQletM1P38g49d9/D0yTxp9FrSF+xpJFStkGgKEIRjlQ==" | ||||
|         }, | ||||
|         "read-pkg": { | ||||
|           "version": "2.0.0", | ||||
| @@ -15036,8 +14981,7 @@ | ||||
|           "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" | ||||
|         }, | ||||
|         "typescript": { | ||||
|           "version": "3.9.7", | ||||
|           "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.7.tgz", | ||||
|           "version": "file:https:/registry.npmjs.org/typescript/-/typescript-3.9.7.tgz", | ||||
|           "integrity": "sha512-BLbiRkiBzAwsjut4x/dsibSTB6yWpwT5qWmC2OfuCg3GgVQCSgMs4vEctYPhsaGtd0AeuuHMkjZ2h2WG8MSzRw==" | ||||
|         }, | ||||
|         "unicode-canonical-property-names-ecmascript": { | ||||
|   | ||||
							
								
								
									
										23
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										23
									
								
								package.json
									
									
									
									
									
								
							| @@ -2,15 +2,29 @@ | ||||
|   "name": "react-component-form", | ||||
|   "version": "1.0.0", | ||||
|   "description": "Manage React Forms with ease.", | ||||
|   "author": "Divlo", | ||||
|   "author": "Divlo <contact@divlo.fr>", | ||||
|   "license": "MIT", | ||||
|   "repository": "Divlo/react-component-form", | ||||
|   "files": [ | ||||
|     "dist" | ||||
|   ], | ||||
|   "main": "dist/index.js", | ||||
|   "module": "dist/index.modern.js", | ||||
|   "source": "src/index.tsx", | ||||
|   "engines": { | ||||
|     "node": ">=10" | ||||
|   }, | ||||
|   "repository": { | ||||
|     "type": "git", | ||||
|     "url": "git+https://github.com/Divlo/react-component-form.git" | ||||
|   }, | ||||
|   "keywords": [ | ||||
|     "react-form", | ||||
|     "react-component-form" | ||||
|   ], | ||||
|   "bugs": { | ||||
|     "url": "https://github.com/Divlo/react-component-form/issues" | ||||
|   }, | ||||
|   "homepage": "https://github.com/Divlo/react-component-form#readme", | ||||
|   "scripts": { | ||||
|     "build": "microbundle-crl --no-compress --format modern,cjs", | ||||
|     "start": "microbundle-crl watch --no-compress --format modern,cjs", | ||||
| @@ -56,8 +70,5 @@ | ||||
|     "react-dom": "^16.13.1", | ||||
|     "react-scripts": "^3.4.1", | ||||
|     "typescript": "^3.7.5" | ||||
|   }, | ||||
|   "files": [ | ||||
|     "dist" | ||||
|   ] | ||||
|   } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user