There's no isComponentOfType() anymore
Ivan Krechetov committed
Nov 11, 2014 at 09:25 UTC
13311639cc77c0c953c34cebcf47fb4143b26994
1 file changed
+1
-1
docs/docs/10.4-test-utils.md
+1
-1
@@ -73,7 +73,7 @@ Returns true if `instance` is a composite component (created with `React.createC
73
boolean isCompositeComponentWithType(ReactComponent instance, function componentClass)
74
```
75
76
-The combination of `isComponentOfType()` and `isCompositeComponent()`.
76
+Returns true if `instance` is a composite component (created with `React.createClass()`) whose type is of a React `componentClass`.
77
78
### isTextComponent
79