UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

23 lines 2.48 kB
import * as tslib_1 from "tslib"; import * as React from 'react'; import { ExampleCard, ComponentPage, PageMarkdown, PropertiesTableSet } from '@uifabric/example-app-base'; import { PeoplePickerTypesExample } from './examples/PeoplePicker.Types.Example'; import { ComponentStatus } from '../../../demo/ComponentStatus/ComponentStatus'; import { PeoplePickerStatus } from './PeoplePicker.checklist'; var PeoplePickerTypesExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/pickers/PeoplePicker/examples/PeoplePicker.Types.Example.tsx'); var PeoplePickerPage = /** @class */ (function (_super) { tslib_1.__extends(PeoplePickerPage, _super); function PeoplePickerPage() { return _super !== null && _super.apply(this, arguments) || this; } PeoplePickerPage.prototype.render = function () { return (React.createElement(ComponentPage, { title: 'PeoplePicker', componentName: 'PeoplePickerExample', componentUrl: 'https://github.com/OfficeDev/office-ui-fabric-react/tree/master/packages/office-ui-fabric-react/src/components/pickers/PeoplePicker', exampleCards: React.createElement("div", null, React.createElement(ExampleCard, { title: 'People Pickers', code: PeoplePickerTypesExampleCode }, React.createElement(PeoplePickerTypesExample, 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/PeoplePicker/docs/PeoplePickerOverview.md')), bestPractices: React.createElement(PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/pickers/PeoplePicker/docs/PeoplePickerBestPractices.md')), dos: React.createElement(PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/pickers/PeoplePicker/docs/PeoplePickerDos.md')), donts: React.createElement(PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/pickers/PeoplePicker/docs/PeoplePickerDonts.md')), isHeaderVisible: this.props.isHeaderVisible, componentStatus: React.createElement(ComponentStatus, tslib_1.__assign({}, PeoplePickerStatus)) })); }; return PeoplePickerPage; }(React.Component)); export { PeoplePickerPage }; //# sourceMappingURL=PeoplePickerPage.js.map