UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

25 lines 1.97 kB
import * as tslib_1 from "tslib"; import * as React from 'react'; import { ExampleCard, ComponentPage, PropertiesTableSet } from '@uifabric/example-app-base'; import { PeopleSelectedItemsListExample } from '../examples/SelectedPeopleList.Basic.Example'; var PeopleSelectedItemsListExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/SelectedItemsList/examples/SelectedPeopleList.Basic.Example.tsx'); var SelectedPeopleListPage = /** @class */ (function (_super) { tslib_1.__extends(SelectedPeopleListPage, _super); function SelectedPeopleListPage() { return _super !== null && _super.apply(this, arguments) || this; } SelectedPeopleListPage.prototype.render = function () { return (React.createElement(ComponentPage, { title: 'SelectedPeopleList', componentName: 'SelectedPeopleList', exampleCards: React.createElement("div", null, React.createElement(ExampleCard, { title: 'Selected People List', code: PeopleSelectedItemsListExampleCode }, React.createElement(PeopleSelectedItemsListExample, null))), propertiesTables: React.createElement(PropertiesTableSet, { sources: [ require('!raw-loader!office-ui-fabric-react/src/components/SelectedItemsList/BaseSelectedItemsList.types.ts') ] }), overview: React.createElement("div", null), bestPractices: React.createElement("div", null), dos: React.createElement("div", null, React.createElement("ul", null, React.createElement("li", null, "Use them to represent list of selected people."))), donts: React.createElement("div", null, React.createElement("ul", null, React.createElement("li", null, "Use for other items besides selected people"))) })); }; return SelectedPeopleListPage; }(React.Component)); export { SelectedPeopleListPage }; //# sourceMappingURL=SelectedPeopleListPage.js.map