findRenderedDOMComponentWithClass function
- @JS('React.addons.TestUtils.findRenderedDOMComponentWithClass')
- dynamic tree,
- String className
Like scryRenderedDOMComponentsWithClass() 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.findRenderedDOMComponentWithClass')
external dynamic /* [1] */ findRenderedDOMComponentWithClass(/* [1] */ tree, String className);