- Notifications
You must be signed in to change notification settings - Fork7
React hook for creating input values
License
NotificationsYou must be signed in to change notification settings
rehooks/input-value
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
React hook for creating input values
Note: This is using the newReact Hooks API Proposalwhich is subject to change until React 16.7 final.
You'll need to install
react,react-dom, etc at^16.7.0-alpha.0
yarn add @rehooks/input-value
importuseInputValuefrom'@rehooks/input-value';functionMyComponent(){letname=useInputValue('Jamie');// name = { value: 'Jamie', onChange: [Function] }return<input{...name}/>;}
About
React hook for creating input values
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors4
Uh oh!
There was an error while loading.Please reload this page.