Function queryAll

  • Search for matching elements for the query in the rendered react tree

    Type Parameters

    • Component extends ComponentType<any> | keyof IntrinsicElements

    Parameters

    • element: ReactElement<any, string | JSXElementConstructor<any>>

      Target react element

    • queryParam: QueryType<Component>
    • Optional params: ParamsWithLimitType<Component>

      Params for search inside elements of exotic components

    Returns ReactElement<ComponentProps<Component>, Component>[]

    List of matched react elements

Generated using TypeDoc