mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
1 parent
bcaebecce2
commit
bfecabf71a
1 file changed
+1
-1
@@ -95,7 +95,7 @@ Traverse all components in `tree` and accumulate all components where `test(comp
|
||||
### scryRenderedDOMComponentsWithClass
|
||||
|
||||
```javascript
|
||||
array scryRenderedDOMComponentsWithClass(ReactCompoennt tree, string className)
|
||||
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`.
|
||||
|
||||
Reference in new issue
Block a user