"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 Toggle_Basic_Example_1 = require("./examples/Toggle.Basic.Example");
var Toggle_AriaLabel_Example_1 = require("./examples/Toggle.AriaLabel.Example");
var ComponentStatus_1 = require("../../demo/ComponentStatus/ComponentStatus");
var Toggle_checklist_1 = require("./Toggle.checklist");
var ToggleBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Toggle/examples/Toggle.Basic.Example.tsx');
var ToggleAriaLabelExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Toggle/examples/Toggle.AriaLabel.Example.tsx');
var TogglePage = /** @class */ (function (_super) {
    tslib_1.__extends(TogglePage, _super);
    function TogglePage() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    TogglePage.prototype.render = function () {
        return (React.createElement(example_app_base_1.ComponentPage, { title: "Toggle", componentName: "ToggleExample", componentUrl: "https://github.com/OfficeDev/office-ui-fabric-react/tree/master/packages/office-ui-fabric-react/src/components/Toggle", exampleCards: React.createElement("div", null,
                React.createElement(example_app_base_1.ExampleCard, { title: "Default Toggles", code: ToggleBasicExampleCode },
                    React.createElement(Toggle_Basic_Example_1.ToggleBasicExample, null)),
                React.createElement(example_app_base_1.ExampleCard, { title: "Toggle with specialized aria labels for the screen-reader to announce when the toggle is on and off", code: ToggleAriaLabelExampleCode },
                    React.createElement(Toggle_AriaLabel_Example_1.ToggleAriaLabelExample, null))), allowNativeProps: true, nativePropsElement: 'input', propertiesTables: React.createElement(example_app_base_1.PropertiesTableSet, { sources: [require('!raw-loader!office-ui-fabric-react/src/components/Toggle/Toggle.types.ts')] }), overview: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/Toggle/docs/ToggleOverview.md')), bestPractices: React.createElement("div", null), dos: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/Toggle/docs/ToggleDos.md')), donts: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/Toggle/docs/ToggleDonts.md')), isHeaderVisible: this.props.isHeaderVisible, componentStatus: React.createElement(ComponentStatus_1.ComponentStatus, tslib_1.__assign({}, Toggle_checklist_1.ToggleStatus)) }));
    };
    return TogglePage;
}(React.Component));
exports.TogglePage = TogglePage;
//# sourceMappingURL=TogglePage.js.map