define(["require", "exports", "tslib", "react", "@uifabric/example-app-base", "./examples/Dropdown.Basic.Example", "./examples/Dropdown.Custom.Example", "./examples/Dropdown.Error.Example", "../../demo/ComponentStatus/ComponentStatus", "./Dropdown.checklist"], function (require, exports, tslib_1, React, example_app_base_1, Dropdown_Basic_Example_1, Dropdown_Custom_Example_1, Dropdown_Error_Example_1, ComponentStatus_1, Dropdown_checklist_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var DropdownBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Dropdown/examples/Dropdown.Basic.Example.tsx');
    var DropdownCustomExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Dropdown/examples/Dropdown.Custom.Example.tsx');
    var DropdownErrorExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Dropdown/examples/Dropdown.Error.Example.tsx');
    var DropdownPage = /** @class */ (function (_super) {
        tslib_1.__extends(DropdownPage, _super);
        function DropdownPage() {
            return _super !== null && _super.apply(this, arguments) || this;
        }
        DropdownPage.prototype.render = function () {
            return (React.createElement(example_app_base_1.ComponentPage, { title: 'Dropdown', componentName: 'DropdownExample', exampleCards: React.createElement("div", null,
                    React.createElement(example_app_base_1.ExampleCard, { title: 'Dropdown', code: DropdownBasicExampleCode },
                        React.createElement(Dropdown_Basic_Example_1.DropdownBasicExample, null)),
                    React.createElement(example_app_base_1.ExampleCard, { title: 'Customized Dropdown', code: DropdownCustomExampleCode },
                        React.createElement(Dropdown_Custom_Example_1.DropdownCustomExample, null)),
                    React.createElement(example_app_base_1.ExampleCard, { title: 'Dropdown with Error Message', code: DropdownErrorExampleCode },
                        React.createElement(Dropdown_Error_Example_1.DropdownErrorExample, null))), allowNativeProps: true, propertiesTables: React.createElement(example_app_base_1.PropertiesTableSet, { sources: [
                        require('!raw-loader!office-ui-fabric-react/src/components/Dropdown/Dropdown.types.ts'),
                        require('!raw-loader!office-ui-fabric-react/src/utilities/selectableOption/SelectableDroppableText.types.ts')
                    ] }), overview: React.createElement("div", null,
                    React.createElement("p", null, "A Dropdown is a list in which the selected item is always visible, and the others are visible on demand by clicking a drop-down button. They are used to simplify the design and make a choice within the UI. When closed, only the selected item is visible. When users click the drop-down button, all the options become visible. To change the value, users open the list and click another value or use the arrow keys (up and down) to select a new value.")), bestPractices: React.createElement("div", null), dos: React.createElement("div", null,
                    React.createElement("ul", null,
                        React.createElement("li", null, "Use a Dropdown when there are multiple choices that can be collapsed under one title. Or if the list of items is long or when space is constrained."),
                        React.createElement("li", null, "Dropdowns contain shortened statements or words."),
                        React.createElement("li", null, "Use a Dropdown when the selected option is more important than the alternatives (in contrast to radio buttons where all the choices are visible putting more emphasis on the other options)."))), donts: React.createElement("div", null), isHeaderVisible: this.props.isHeaderVisible, componentStatus: React.createElement(ComponentStatus_1.ComponentStatus, tslib_1.__assign({}, Dropdown_checklist_1.DropdownStatus)) }));
        };
        return DropdownPage;
    }(React.Component));
    exports.DropdownPage = DropdownPage;
});
//# sourceMappingURL=DropdownPage.js.map