scryRenderedComponentsWithTypeV2 function

List scryRenderedComponentsWithTypeV2(
  1. dynamic tree,
  2. ReactComponentFactoryProxy componentFactory
)

Finds all instances within the provided tree that are of the ReactComponentFactoryProxy.type of the provided componentFactory.

Implementation

List<dynamic> /* [1] */ scryRenderedComponentsWithTypeV2(/* [1] */ tree, ReactComponentFactoryProxy componentFactory) {
  return _scryRenderedComponentsWithType(tree, getComponentTypeV2(componentFactory));
}