import React from "react";
export class ElementFactory {
    constructor(component, props) {
        this.component = component;
        this.props = props;
    }
    create() {
        return React.createElement(this.component, this.props);
    }
}
//# sourceMappingURL=ElementFactory.js.map