Skip to content

Commit

Permalink
There's no isComponentOfType() anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
ikr committed Nov 11, 2014
1 parent 7a162ce commit 1331163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/10.4-test-utils.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1331163

Please sign in to comment.