'use strict';

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

exports.__esModule = true;
exports.Static = void 0;

var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));

var _inheritsLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/inheritsLoose"));

var _react = _interopRequireDefault(require("react"));

var _TextInput = require("./TextInput");

var Static =
/*#__PURE__*/
function (_React$Component) {
  (0, _inheritsLoose2.default)(Static, _React$Component);

  function Static() {
    return _React$Component.apply(this, arguments) || this;
  }

  var _proto = Static.prototype;

  _proto.render = function render() {
    return _react.default.createElement(_TextInput.TextInput, (0, _extends2.default)({}, this.props, {
      readOnly: true
    }));
  };

  return Static;
}(_react.default.Component);

exports.Static = Static;