dillon1000/react

Commit

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.
Browse files
Changed paths2 files
First-parent comparison
M src/addons/link/ReactLink.js ModifiedA src/addons/link/__tests__/ReactLinkPropTypes-test.js Added
Patch

Files changed

Rendering syntax-highlighted changes…