-
Notifications
You must be signed in to change notification settings - Fork 47.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved LinkedInput from addons to packages.
- Loading branch information
jim
committed
Feb 26, 2016
1 parent
e2866ae
commit d997dcc
Showing
4 changed files
with
39 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
This component supports the ReactLink API (valueLink, etc) for input components. Support for ReactLink on DOM elements will be removed from React. This component may be used as a migration plan (so your code doesn't break in the next version of React) or may be used if you just like the ReactLink data binding semantics. However, this component is not maintained, so use at your own risk. | ||
|
||
|
||
``` | ||
var React = require('react'); | ||
var ReactDOM = require('react-dom'); | ||
var LinkedInput = require('react-linked-input'); | ||
React.render(<LinkedInput valueLink={{value: 'boo', requestChange: function() {}}} />, container); | ||
``` |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"name": "react-linked-input", | ||
"version": "0.0.201602251656", | ||
"description": "LinkedInput supports the ReactLink semantics", | ||
"main": "LinkedInput.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/facebook/react.git" | ||
}, | ||
"keywords": [ | ||
"react", | ||
"linkedinput", | ||
"input", | ||
"linked", | ||
"reactlink" | ||
], | ||
"author": "", | ||
"license": "BSD-3-Clause", | ||
"peerDependencies": { | ||
"react": "^0.14.7" | ||
} | ||
} |