"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _react = require("react");
var _jsxRuntime = require("react/jsx-runtime");
var Container = function Container(_ref) {
  var onMount = _ref.onMount;
  var ref = (0, _react.useRef)(null);
  var onMountRef = (0, _react.useRef)(onMount);
  (0, _react.useEffect)(function () {
    onMountRef.current = onMount;
  }, [onMount]);
  (0, _react.useEffect)(function () {
    return onMountRef.current(ref.current);
  }, []);
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
    ref: ref,
    style: {
      height: '100%'
    }
  });
};
var _default = Container;
exports.default = _default;