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 __());
};
define(["require", "exports", "react", "../../../../index"], function (require, exports, React, index_1) {
    "use strict";
    var ImageDefaultExample = (function (_super) {
        __extends(ImageDefaultExample, _super);
        function ImageDefaultExample() {
            return _super.apply(this, arguments) || this;
        }
        ImageDefaultExample.prototype.render = function () {
            return (React.createElement("div", null,
                React.createElement("p", null, "With no imageFit property set, the width and height props control the size of the frame. Depending on which of those props is used, the image may scale to fit the frame."),
                React.createElement(index_1.Label, null, "Without a width or height specified, the frame remains at its natural size and the image will not be scaled."),
                React.createElement(index_1.Image, { src: 'http://placehold.it/350x150' }),
                React.createElement("br", null),
                React.createElement(index_1.Label, null, "If only a width is provided, the frame will be set to that width. The image will scale proportionally to fill the available width."),
                React.createElement(index_1.Image, { src: 'http://placehold.it/350x150', width: 600 }),
                React.createElement("br", null),
                React.createElement(index_1.Label, null, "If only a height is provided, the frame will be set to that height. The image will scale proportionally to fill the available height."),
                React.createElement(index_1.Image, { src: 'http://placehold.it/350x150', height: 100 }),
                React.createElement("br", null),
                React.createElement(index_1.Label, null,
                    "If both width and height are provided, the frame will be set to that width and height. The image will scale to fill both the available width and height. ",
                    React.createElement("strong", null, "This may result in a distorted image.")),
                React.createElement(index_1.Image, { src: 'http://placehold.it/350x150', width: 100, height: 100 })));
        };
        return ImageDefaultExample;
    }(React.Component));
    exports.ImageDefaultExample = ImageDefaultExample;
});

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