Commit Graph

17 Commits

Author SHA1 Message Date
Andrew J Daniel 5bc1810407 fix: Override props with injections
If you have a prop and an injection with the same name (perhaps you defined it in a static propTypes class property) then the injection will take precedence and override any props with the same name.

Signed-off-by: Andrew J Daniel <adaniel@uk.ibm.com>
2018-05-02 13:16:55 +01:00
Boris Cherny d95d61291b clean up test 2017-12-11 09:17:19 -08:00
fand 365786bfba Fix reference to prop-types 2017-12-07 10:33:27 +09:00
fand 893bdc5c69 Test that bindingNames and propTypes overrides injectedProps 2017-12-07 10:24:16 +09:00
fand 8e03472671 Test if props in injectedProps are injected correctly 2017-12-07 10:24:16 +09:00
fand 870d6ec0ea Add injectNames argument to react2angular 2017-12-07 10:24:16 +09:00
Chappo d03cfbad88 Changes react types to be peer dependencies to allow consuming package to manage their version 2017-11-22 22:01:52 +11:00
Boris Cherny 3653f8a08c fix build, add tests for when component takes no props (see #31) 2017-08-02 14:55:36 -07:00
Boris Cherny 7484cf4fc3 housekeeping 2017-04-27 18:03:04 -07:00
Boris Cherny 5441c2e371 Merge pull request #5 from mribichich/2-proptypes-for-bindings2
Added propTypes for bindings
2017-03-16 10:18:05 -07:00
Matias Ribichich 740313d72b Updated the readme.md and grouped the new tests 2017-03-16 10:32:19 -03:00
Matias Ribichich d59b511d74 Added the parsing of bindings from the propTypes when present 2017-03-16 00:15:18 -03:00
Boris Cherny 12ec1105c7 upgrade ngimport 2017-03-15 17:17:44 -07:00
Boris Cherny ecd046d40e fix #3 2017-03-15 15:12:00 -07:00
Boris Cherny d7be1a4429 rename angularize => react2angular, minor fixes for docs 2017-03-02 15:37:58 -08:00
Boris Cherny dadddfb3c7 add tests 2017-03-01 10:49:29 -08:00
Boris Cherny b33fe4e277 🌅 2017-02-24 18:27:43 -08:00