office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
27 lines • 2.3 kB
JavaScript
import * as tslib_1 from "tslib";
import * as React from 'react';
import { ExampleCard, ComponentPage, PageMarkdown, PropertiesTableSet } from '@uifabric/example-app-base';
import { PickerCustomResultExample } from './examples/Picker.CustomResult.Example';
import { TagPickerBasicExample } from './examples/TagPicker.Basic.Example';
import { ComponentStatus } from '../../demo/ComponentStatus/ComponentStatus';
import { PickersStatus } from './Pickers.checklist';
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(ComponentPage, { title: 'Pickers', componentName: 'PickersExample', componentUrl: 'https://github.com/OfficeDev/office-ui-fabric-react/tree/master/packages/office-ui-fabric-react/src/components/pickers', exampleCards: React.createElement("div", null,
React.createElement(ExampleCard, { title: 'Tag Picker', code: TagPickerExampleCode },
React.createElement(TagPickerBasicExample, null)),
React.createElement(ExampleCard, { title: 'Custom Picker (Document Picker)', code: PickerCustomResultExampleCode },
React.createElement(PickerCustomResultExample, null))), propertiesTables: React.createElement(PropertiesTableSet, { sources: [
require('!raw-loader!office-ui-fabric-react/src/components/pickers/BasePicker.types.ts')
] }), overview: React.createElement(PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/pickers/docs/PickersOverview.md')), isHeaderVisible: this.props.isHeaderVisible, componentStatus: React.createElement(ComponentStatus, tslib_1.__assign({}, PickersStatus)) }));
};
return PickersPage;
}(React.Component));
export { PickersPage };
//# sourceMappingURL=PickersPage.js.map