|
|
@ -98,7 +98,7 @@ Traverse all components in `tree` and accumulate all components where `test(comp |
|
|
|
array scryRenderedDOMComponentsWithClass(ReactComponent tree, string className) |
|
|
|
``` |
|
|
|
|
|
|
|
Finds all instance of components in the rendered tree that are DOM components with the class name matching `className`. |
|
|
|
Finds all instances of components in the rendered tree that are DOM components with the class name matching `className`. |
|
|
|
|
|
|
|
### findRenderedDOMComponentWithClass |
|
|
|
|
|
|
@ -114,7 +114,7 @@ Like `scryRenderedDOMComponentsWithClass()` but expects there to be one result, |
|
|
|
array scryRenderedDOMComponentsWithTag(ReactComponent tree, string tagName) |
|
|
|
``` |
|
|
|
|
|
|
|
Finds all instance of components in the rendered tree that are DOM components with the tag name matching `tagName`. |
|
|
|
Finds all instances of components in the rendered tree that are DOM components with the tag name matching `tagName`. |
|
|
|
|
|
|
|
### findRenderedDOMComponentWithTag |
|
|
|
|
|
|
|