Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

React hook for creating input values

License

NotificationsYou must be signed in to change notification settings

rehooks/input-value

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 installreact,react-dom, etc at^16.7.0-alpha.0

Install

yarn add @rehooks/input-value

Usage

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

Stars

Watchers

Forks

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp