findRenderedDOMComponentWithTag function
- @JS('React.addons.TestUtils.findRenderedDOMComponentWithTag')
- dynamic tree,
- String tag
Like scryRenderedDOMComponentsWithTag() but expects there to be one result, and returns that one result, or throws exception if there is any other number of matches besides one.
Implementation
@JS('React.addons.TestUtils.findRenderedDOMComponentWithTag')
external dynamic /* [1] */ findRenderedDOMComponentWithTag(/* [1] */ tree, String tag);