|
@ -142,7 +142,8 @@ Traverse all components in `tree` and accumulate all components where `test(comp |
|
|
|
|
|
|
|
|
```javascript |
|
|
```javascript |
|
|
array scryRenderedDOMComponentsWithClass( |
|
|
array scryRenderedDOMComponentsWithClass( |
|
|
ReactComponent tree, string className |
|
|
ReactComponent tree, |
|
|
|
|
|
string className |
|
|
) |
|
|
) |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
@ -196,7 +197,8 @@ Finds all instances of components with type equal to `componentClass`. |
|
|
|
|
|
|
|
|
```javascript |
|
|
```javascript |
|
|
ReactComponent findRenderedComponentWithType( |
|
|
ReactComponent findRenderedComponentWithType( |
|
|
ReactComponent tree, function componentClass |
|
|
ReactComponent tree, |
|
|
|
|
|
function componentClass |
|
|
) |
|
|
) |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|