define(["require", "exports", "tslib", "react", "office-ui-fabric-react/lib/Utilities", "office-ui-fabric-react/lib/Persona", "../../../common/TestImages", "../../../common/_exampleStyles.scss", "./PersonaExample.scss"], function (require, exports, tslib_1, React, Utilities_1, Persona_1, TestImages_1, exampleStylesImport) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var exampleStyles = exampleStylesImport;
    var examplePersona = {
        imageUrl: TestImages_1.TestImages.personaMale,
        imageInitials: 'TR',
        primaryText: 'Ted Randall',
        secondaryText: 'Project Manager',
        optionalText: 'Available at 4:00pm'
    };
    var PersonaCustomCoinRenderExample = /** @class */ (function (_super) {
        tslib_1.__extends(PersonaCustomCoinRenderExample, _super);
        function PersonaCustomCoinRenderExample() {
            return _super !== null && _super.apply(this, arguments) || this;
        }
        PersonaCustomCoinRenderExample.prototype.render = function () {
            return (React.createElement("div", { className: 'ms-PersonaExample' },
                React.createElement("div", { className: exampleStyles.exampleLabel }, "Custom functional element in place of persona coin's image"),
                React.createElement(Persona_1.Persona, tslib_1.__assign({}, examplePersona, { size: Persona_1.PersonaSize.size72, presence: Persona_1.PersonaPresence.online, onRenderCoin: this._onRenderCoin, imageAlt: 'Custom Coin Image', coinSize: 72 }))));
        };
        PersonaCustomCoinRenderExample.prototype._onRenderCoin = function (props) {
            var coinSize = props.coinSize, imageUrl = props.imageUrl, imageAlt = props.imageAlt;
            return (React.createElement("div", { className: 'customExampleCoin' },
                React.createElement("img", { src: imageUrl, alt: imageAlt, width: coinSize, height: coinSize })));
        };
        tslib_1.__decorate([
            Utilities_1.autobind
        ], PersonaCustomCoinRenderExample.prototype, "_onRenderCoin", null);
        return PersonaCustomCoinRenderExample;
    }(React.Component));
    exports.PersonaCustomCoinRenderExample = PersonaCustomCoinRenderExample;
});
//# sourceMappingURL=Persona.CustomCoinRender.Example.js.map