dillon1000/react
Commit
Browse files Add typed ReactLink to ReactProps
Adds a PropType that checks for proper use of the ReactLink API and optionally validates the type of value passed in via the link. Basically, it's a wrapper around PropTypes.shape that hides the implementation of ReactLink.
Changed paths2 files
First-parent comparisonsrc/addons/link/ReactLink.js ModifiedA src/addons/link/__tests__/ReactLinkPropTypes-test.js AddedPatch
Files changed
Rendering syntax-highlighted changes…