Browse Source

There's no isComponentOfType() anymore

main
Ivan Krechetov 10 years ago
parent
commit
327f903b6b
  1. 2
      docs/10.4-test-utils.md

2
docs/10.4-test-utils.md

@ -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

Loading…
Cancel
Save