mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
There's no isComponentOfType() anymore
This commit is contained in:
@@ -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