"use strict";
var __extends = (this && this.__extends) || function (d, b) {
    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
    function __() { this.constructor = d; }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var React = require('react');
var index_1 = require('../../../../index');
var ImageScaleExample = (function (_super) {
    __extends(ImageScaleExample, _super);
    function ImageScaleExample() {
        _super.apply(this, arguments);
    }
    ImageScaleExample.prototype.render = function () {
        var imageProps = {
            src: 'http://placehold.it/500x500',
            imageFit: index_1.ImageFit.scale,
            width: 350,
            height: 150
        };
        return (React.createElement("div", null, React.createElement(index_1.Label, null, "The image is scaled to match the frame, resulting in a squashed image."), React.createElement(index_1.Image, React.__spread({}, imageProps))));
    };
    return ImageScaleExample;
}(React.Component));
exports.ImageScaleExample = ImageScaleExample;

//# sourceMappingURL=Image.Scale.Example.js.map
