import * as tslib_1 from "tslib";
import * as React from 'react';
import { ExampleCard, ComponentPage, PropertiesTableSet } from '@uifabric/example-app-base';
import { CoachmarkBasicExample } from './examples/Coachmark.Basic.Example';
var CoachmarkBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Coachmark/examples/Coachmark.Basic.Example.tsx');
var CoachmarkPage = /** @class */ (function (_super) {
    tslib_1.__extends(CoachmarkPage, _super);
    function CoachmarkPage() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    CoachmarkPage.prototype.render = function () {
        return (React.createElement(ComponentPage, { title: 'Coachmark', componentName: 'Coachmark', exampleCards: React.createElement("div", null,
                React.createElement(ExampleCard, { title: 'Coachmark Basic', isOptIn: true, code: CoachmarkBasicExampleCode },
                    React.createElement(CoachmarkBasicExample, null))), propertiesTables: React.createElement(PropertiesTableSet, { sources: [
                    require('!raw-loader!office-ui-fabric-react/src/components/Coachmark/Coachmark.types.ts')
                ] }), overview: React.createElement("div", null,
                React.createElement("p", null, "Coachmarks are used to draw a persons attention to a part of the UI, and increase engagement with that element in the product."),
                React.createElement("p", null, "They should be contextual whenever possible, or related to something that will make existing user flows more efficient")), bestPractices: React.createElement("div", null), dos: React.createElement("div", null,
                React.createElement("ul", null,
                    React.createElement("li", null, "Only one coachmark + callout combo will be displayed at a time"),
                    React.createElement("li", null, "Coachmarks can be stand alone or sequential. Sequential coachmarks should be used sparingly, to walk through complex multi-step interactions. It is recommended that a sequence of coachmakrs does not exceed 3 steps."),
                    React.createElement("li", null, "Coachmarks are designed to only hold Callouts."))), donts: React.createElement("div", null,
                React.createElement("ul", null,
                    React.createElement("li", null, "Coachmark size, color, and animation should not be altered."),
                    React.createElement("li", null, "Don't show the coachmark more than once even if the user has not completed the action."))), isHeaderVisible: this.props.isHeaderVisible }));
    };
    return CoachmarkPage;
}(React.Component));
export { CoachmarkPage };
//# sourceMappingURL=CoachmarkPage.js.map