"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.UIAutoSizer = void 0;
const react_1 = __importDefault(require("react"));
const react_virtualized_1 = require("react-virtualized");
/**
 * UIAutoSizer component.
 * based on https://github.com/bvaughn/react-virtualized/tree/master/source/AutoSizer
 *
 * @exports
 * @class UIAutoSizer
 * @extends {React.Component<AutoSizerProps, {}>}
 */
class UIAutoSizer extends react_1.default.Component {
    /**
     * Initializes component properties.
     *
     * @param {AutoSizerProps} props
     */
    constructor(props) {
        super(props);
    }
    /**
     * @returns {JSX.Element}
     */
    render() {
        return react_1.default.createElement(react_virtualized_1.AutoSizer, { ...this.props }, this.props.children);
    }
}
exports.UIAutoSizer = UIAutoSizer;
//# sourceMappingURL=UIAutoSizer.js.map