mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Merge pull request #2498 from ikr/patch-1
There's no isComponentOfType() anymore
This commit is contained in:
1 parent
4fb45410b3
commit
8dc8b0fd44
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user