Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There's no isComponentOfType() anymore #2498

Merged
merged 1 commit into from
Nov 11, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There's no isComponentOfType() anymore
  • Loading branch information
ikr committed Nov 11, 2014
commit 13311639cc77c0c953c34cebcf47fb4143b26994
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