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