UNPKG

@arche-mc2/arche-controls

Version:

We know that there are a ton of react UI library projects to choose from. Our hope with this one is to provide the next generation of react components that you can use to bootstrap your next project, or as a reference for building a UIKit. Read on to get

18 lines 693 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var React = require("react"); var styles_1 = require("./styles"); var UpImage = (function (_super) { tslib_1.__extends(UpImage, _super); function UpImage() { return _super !== null && _super.apply(this, arguments) || this; } UpImage.prototype.render = function () { var _a = this.props, src = _a.src, alt = _a.alt; return React.createElement("img", { src: src, alt: alt, className: styles_1.getStyles(this.props) }); }; return UpImage; }(React.Component)); exports.default = UpImage; //# sourceMappingURL=UpImage.js.map