define(["require", "exports", "tslib", "react", "@fluentui/react/lib/Persona", "@fluentui/react/lib/Stack", "@fluentui/example-data", "@fluentui/react/lib/Styling"], function (require, exports, tslib_1, React, Persona_1, Stack_1, example_data_1, Styling_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.PersonaCustomCoinRenderExample = void 0;
    var customCoinClass = Styling_1.mergeStyles({
        borderRadius: 20,
        display: 'block',
    });
    var examplePersona = {
        imageInitials: 'TR',
        text: 'Ted Randall',
        secondaryText: 'Project Manager',
        optionalText: 'Available at 4:00pm',
    };
    var PersonaCustomCoinRenderExample = function () {
        return (React.createElement(Stack_1.Stack, { tokens: { childrenGap: 10 } },
            React.createElement("div", null, "Custom render function 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: _onRenderCoin, imageAlt: "Ted Randall, status is available at 4 PM", imageUrl: example_data_1.TestImages.personaMale, coinSize: 72 }))));
    };
    exports.PersonaCustomCoinRenderExample = PersonaCustomCoinRenderExample;
    function _onRenderCoin(props) {
        var coinSize = props.coinSize, imageAlt = props.imageAlt, imageUrl = props.imageUrl;
        return React.createElement("img", { src: imageUrl, alt: imageAlt, width: coinSize, height: coinSize, className: customCoinClass });
    }
});
//# sourceMappingURL=Persona.CustomCoinRender.Example.js.map