define(["require", "exports", "tslib", "react", "@uifabric/experiments"], function (require, exports, tslib_1, React, experiments_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var MicroFeedbackExample = /** @class */ (function (_super) {
        tslib_1.__extends(MicroFeedbackExample, _super);
        function MicroFeedbackExample() {
            return _super !== null && _super.apply(this, arguments) || this;
        }
        MicroFeedbackExample.prototype.render = function () {
            var sendFeedbackCallback = function (vote) {
                // can be sent to a backend that collects user feedback
                console.log('Logged vote type:', vote);
            };
            var microfeedbackStyles = {
                root: {
                    float: 'left',
                },
            };
            return (React.createElement("div", null,
                React.createElement(experiments_1.MicroFeedback, { styles: microfeedbackStyles, likeIconTitle: "Like", dislikeIconTitle: "Dislike", thanksText: "Thank you!", 
                    // eslint-disable-next-line react/jsx-no-bind
                    sendFeedback: sendFeedbackCallback })));
        };
        return MicroFeedbackExample;
    }(React.Component));
    exports.MicroFeedbackExample = MicroFeedbackExample;
});
//# sourceMappingURL=MicroFeedback.Example.js.map