Skip to content

Commit

Permalink
Merge pull request #2498 from ikr/patch-1
Browse files Browse the repository at this point in the history
There's no isComponentOfType() anymore
  • Loading branch information
zpao committed Nov 19, 2014
1 parent 4fb4541 commit 8dc8b0f
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 8dc8b0f

Please sign in to comment.