UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

27 lines 2.67 kB
import * as tslib_1 from "tslib"; import * as React from 'react'; import { ExampleCard, ComponentPage, PropertiesTableSet, PageMarkdown, } from '@uifabric/example-app-base'; import { ComboBoxBasicExample } from './examples/ComboBox.Basic.Example'; import { ComboBoxCustomStyledExample } from './examples/ComboBox.CustomStyled.Example'; import { ComponentStatus } from '../../demo/ComponentStatus/ComponentStatus'; import { ComboBoxStatus } from './ComboBox.checklist'; var ComboBoxBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/ComboBox/examples/ComboBox.Basic.Example.tsx'); var ComboBoxCustomStyledExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/ComboBox/examples/ComboBox.CustomStyled.Example.tsx'); var ComboBoxPage = /** @class */ (function (_super) { tslib_1.__extends(ComboBoxPage, _super); function ComboBoxPage() { return _super !== null && _super.apply(this, arguments) || this; } ComboBoxPage.prototype.render = function () { return (React.createElement(ComponentPage, { title: 'ComboBox', componentName: 'ComboBoxExample', componentUrl: 'https://github.com/OfficeDev/office-ui-fabric-react/tree/master/packages/office-ui-fabric-react/src/components/ComboBox', exampleCards: React.createElement("div", null, React.createElement(ExampleCard, { title: 'ComboBox', code: ComboBoxBasicExampleCode }, React.createElement(ComboBoxBasicExample, null)), React.createElement(ExampleCard, { title: 'ComboBoxCustomStyled', code: ComboBoxCustomStyledExampleCode }, React.createElement(ComboBoxCustomStyledExample, null))), allowNativeProps: true, propertiesTables: React.createElement(PropertiesTableSet, { sources: [ require('!raw-loader!office-ui-fabric-react/src/components/ComboBox/ComboBox.types.ts') ] }), overview: React.createElement(PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/ComboBox/docs/ComboBoxOverview.md')), bestPractices: React.createElement("div", null), dos: React.createElement(PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/ComboBox/docs/ComboBoxDos.md')), donts: React.createElement(PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/ComboBox/docs/ComboBoxDonts.md')), isHeaderVisible: this.props.isHeaderVisible, componentStatus: React.createElement(ComponentStatus, tslib_1.__assign({}, ComboBoxStatus)) })); }; return ComboBoxPage; }(React.Component)); export { ComboBoxPage }; //# sourceMappingURL=ComboBoxPage.js.map