"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = require("react");
var example_app_base_1 = require("@uifabric/example-app-base");
var MicroFeedback_Example_1 = require("./MicroFeedback.Example");
var MicroFeedbackCallout_Example_1 = require("./MicroFeedbackCallout.Example");
var MicroFeedbackStack_Example_1 = require("./MicroFeedbackStack.Example");
var MicroFeedbackExampleCode = require('!raw-loader!@fluentui/examples/src/experiments/MicroFeedback/MicroFeedback.Example.tsx');
var MicroFeedbackCalloutExampleCode = require('!raw-loader!@fluentui/examples/src/experiments/MicroFeedback/MicroFeedbackCallout.Example.tsx');
var MicroFeedbackStackExampleCode = require('!raw-loader!@fluentui/examples/src/experiments/MicroFeedback/MicroFeedbackStack.Example.tsx');
var MicroFeedbackPage = /** @class */ (function (_super) {
    tslib_1.__extends(MicroFeedbackPage, _super);
    function MicroFeedbackPage() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    MicroFeedbackPage.prototype.render = function () {
        return (React.createElement(example_app_base_1.ComponentPage, { title: "MicroFeedback", componentName: "MicroFeedback", exampleCards: React.createElement("div", null,
                React.createElement(example_app_base_1.ExampleCard, { title: "Default", isOptIn: true, code: MicroFeedbackExampleCode },
                    React.createElement(MicroFeedback_Example_1.MicroFeedbackExample, null)),
                React.createElement(example_app_base_1.ExampleCard, { title: "With Callout followup", isOptIn: true, code: MicroFeedbackCalloutExampleCode },
                    React.createElement(MicroFeedbackCallout_Example_1.MicroFeedbackCalloutExample, null)),
                React.createElement(example_app_base_1.ExampleCard, { title: "With Stack followup", isOptIn: true, code: MicroFeedbackStackExampleCode },
                    React.createElement(MicroFeedbackStack_Example_1.MicroFeedbackStackExample, null))), propertiesTables: React.createElement(example_app_base_1.PropertiesTableSet, { sources: [
                    require('!raw-loader!@uifabric/experiments/src/components/MicroFeedback/MicroFeedback.types.ts'),
                ] }), overview: React.createElement("div", null, "MicroFeedback is a type of in-app item level feedback that is quick, easy to use, lightweight and most importantly contextual. MicroFeedback is about collecting small bits of information at specific points in your customer interaction within your product or service. It allows you to collect frequent and relevant feedback at various interaction point with customers. This control can be used where you want initial feedback and then a follow up question to narrow down reasons for the feedback. The data you gather can help you improve your product. The feedback data can be sent to a backend of your choice where you can process and report it."), bestPractices: React.createElement("div", null), dos: React.createElement("div", null,
                React.createElement("ul", null,
                    React.createElement("li", null, "Use MicroFeedback for gathering item level feedback."),
                    React.createElement("li", null, "Use MicroFeedback followup where a question may provide information to narrow down user's preferences."),
                    React.createElement("li", null, "Use MicroFeedback callbacks to send user feedback to a backend of your choice."),
                    React.createElement("li", null, "MicroFeedback can be used in multiple places within an app to gather contextual feedback."),
                    React.createElement("li", null, "Use the follow up to further narrow down why a user made a certain choice to improve your app or service."))), donts: React.createElement("div", null,
                React.createElement("ul", null,
                    React.createElement("li", null, "Don't use MicroFeedback for overall application feedback."),
                    React.createElement("li", null, "Don't use MicroFeedback where a user will have ambiguous choices."),
                    React.createElement("li", null, "Don't use the MicroFeedback stack variant for items that span the entire page, use it in the taskpane instead."),
                    React.createElement("li", null, "Don't give users more than three choices to pick from in the followup."))), isHeaderVisible: this.props.isHeaderVisible }));
    };
    return MicroFeedbackPage;
}(React.Component));
exports.MicroFeedbackPage = MicroFeedbackPage;
//# sourceMappingURL=MicroFeedbackPage.js.map