Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
80517 views
1
/**
2
* Copyright 2013-2015, Facebook, Inc.
3
* All rights reserved.
4
*
5
* This source code is licensed under the BSD-style license found in the
6
* LICENSE file in the root directory of this source tree. An additional grant
7
* of patent rights can be found in the PATENTS file in the same directory.
8
*
9
* @providesModule ReactBrowserComponentMixin
10
*/
11
12
'use strict';
13
14
var findDOMNode = require("./findDOMNode");
15
16
var ReactBrowserComponentMixin = {
17
/**
18
* Returns the DOM node rendered by this component.
19
*
20
* @return {DOMElement} The root node of this component.
21
* @final
22
* @protected
23
*/
24
getDOMNode: function() {
25
return findDOMNode(this);
26
}
27
};
28
29
module.exports = ReactBrowserComponentMixin;
30
31