There's no isComponentOfType() anymore

This commit is contained in:
Ivan Krechetov
2014-11-11 09:25:33 +01:00
parent 4ef39e8881
commit 327f903b6b

View File

@@ -73,7 +73,7 @@ Returns true if `instance` is a composite component (created with `React.createC
boolean isCompositeComponentWithType(ReactComponent instance, function componentClass)
```
The combination of `isComponentOfType()` and `isCompositeComponent()`.
Returns true if `instance` is a composite component (created with `React.createClass()`) whose type is of a React `componentClass`.
### isTextComponent