office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
26 lines • 2.61 kB
JavaScript
define(["require", "exports", "tslib", "react", "office-ui-fabric-react/lib/Link", "@uifabric/example-app-base", "./examples/Picker.CustomResult.Example", "./examples/TagPicker.Basic.Example", "../../demo/ComponentStatus/ComponentStatus", "./Pickers.checklist"], function (require, exports, tslib_1, React, Link_1, example_app_base_1, Picker_CustomResult_Example_1, TagPicker_Basic_Example_1, ComponentStatus_1, Pickers_checklist_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var TagPickerExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/pickers/examples/TagPicker.Basic.Example.tsx');
var PickerCustomResultExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/pickers/examples/Picker.CustomResult.Example.tsx');
var PickersPage = /** @class */ (function (_super) {
tslib_1.__extends(PickersPage, _super);
function PickersPage() {
return _super !== null && _super.apply(this, arguments) || this;
}
PickersPage.prototype.render = function () {
return (React.createElement(example_app_base_1.ComponentPage, { title: 'Pickers', componentName: 'PickersExample', exampleCards: React.createElement("div", null,
React.createElement(example_app_base_1.ExampleCard, { title: 'Tag Picker', code: TagPickerExampleCode },
React.createElement(TagPicker_Basic_Example_1.TagPickerBasicExample, null)),
React.createElement(example_app_base_1.ExampleCard, { title: 'Custom Picker (Document Picker)', code: PickerCustomResultExampleCode },
React.createElement(Picker_CustomResult_Example_1.PickerCustomResultExample, null))), propertiesTables: React.createElement(example_app_base_1.PropertiesTableSet, { sources: [
require('!raw-loader!office-ui-fabric-react/src/components/pickers/BasePicker.types.ts')
] }), overview: React.createElement("div", null,
React.createElement(Link_1.Link, { target: '_blank', href: 'http://dev.office.com/fabric/components/Pickers' }, " Pickers "),
React.createElement("span", null, " are used to pick recipients.")), isHeaderVisible: this.props.isHeaderVisible, componentStatus: React.createElement(ComponentStatus_1.ComponentStatus, tslib_1.__assign({}, Pickers_checklist_1.PickersStatus)) }));
};
return PickersPage;
}(React.Component));
exports.PickersPage = PickersPage;
});
//# sourceMappingURL=PickersPage.js.map