import { __extends } from "tslib";
import { Component } from 'react';
import { findDOMNode } from 'react-dom';
var DOMRef = (function (_super) {
    __extends(DOMRef, _super);
    function DOMRef() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    DOMRef.prototype.getDOMNode = function () {
        return findDOMNode(this);
    };
    DOMRef.prototype.render = function () {
        return this.props.children;
    };
    return DOMRef;
}(Component));
export default DOMRef;
