UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

30 lines 4.06 kB
define(["require", "exports", "tslib", "react", "@uifabric/example-app-base", "./examples/ChoiceGroup.Basic.Example", "./examples/ChoiceGroup.Custom.Example", "./examples/ChoiceGroup.Image.Example", "./examples/ChoiceGroup.Icon.Example", "../../demo/ComponentStatus/ComponentStatus", "./ChoiceGroup.checklist"], function (require, exports, tslib_1, React, example_app_base_1, ChoiceGroup_Basic_Example_1, ChoiceGroup_Custom_Example_1, ChoiceGroup_Image_Example_1, ChoiceGroup_Icon_Example_1, ComponentStatus_1, ChoiceGroup_checklist_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var ChoiceGroupBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/ChoiceGroup/examples/ChoiceGroup.Basic.Example.tsx'); var ChoiceGroupCustomExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/ChoiceGroup/examples/ChoiceGroup.Custom.Example.tsx'); var ChoiceGroupImageExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/ChoiceGroup/examples/ChoiceGroup.Image.Example.tsx'); var ChoiceGroupIconExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/ChoiceGroup/examples/ChoiceGroup.Icon.Example.tsx'); var ChoiceGroupPage = /** @class */ (function (_super) { tslib_1.__extends(ChoiceGroupPage, _super); function ChoiceGroupPage() { return _super !== null && _super.apply(this, arguments) || this; } ChoiceGroupPage.prototype.render = function () { return (React.createElement(example_app_base_1.ComponentPage, { title: 'ChoiceGroup', componentName: 'ChoiceGroupExample', componentUrl: 'https://github.com/OfficeDev/office-ui-fabric-react/tree/master/packages/office-ui-fabric-react/src/components/ChoiceGroup', exampleCards: React.createElement("div", null, React.createElement(example_app_base_1.ExampleCard, { title: 'Default ChoiceGroup', code: ChoiceGroupBasicExampleCode }, React.createElement(ChoiceGroup_Basic_Example_1.ChoiceGroupBasicExample, null)), React.createElement(example_app_base_1.ExampleCard, { title: 'ChoiceGroup with dropdown', code: ChoiceGroupCustomExampleCode }, React.createElement(ChoiceGroup_Custom_Example_1.ChoiceGroupCustomExample, null)), React.createElement(example_app_base_1.ExampleCard, { title: 'ChoiceGroups with images', code: ChoiceGroupImageExampleCode }, React.createElement(ChoiceGroup_Image_Example_1.ChoiceGroupImageExample, null)), React.createElement(example_app_base_1.ExampleCard, { title: 'ChoiceGroup with icons', code: ChoiceGroupIconExampleCode }, React.createElement(ChoiceGroup_Icon_Example_1.ChoiceGroupIconExample, null))), allowNativeProps: true, nativePropsElement: 'input', propertiesTables: React.createElement(example_app_base_1.PropertiesTableSet, { sources: [ require('!raw-loader!office-ui-fabric-react/src/components/ChoiceGroup/ChoiceGroup.types.ts') ] }), overview: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/ChoiceGroup/docs/ChoiceGroupOverview.md')), bestPractices: React.createElement("div", null), dos: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/ChoiceGroup/docs/ChoiceGroupDos.md')), donts: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/ChoiceGroup/docs/ChoiceGroupDonts.md')), isHeaderVisible: this.props.isHeaderVisible, componentStatus: React.createElement(ComponentStatus_1.ComponentStatus, tslib_1.__assign({}, ChoiceGroup_checklist_1.ChoiceGroupStatus)) })); }; return ChoiceGroupPage; }(React.Component)); exports.ChoiceGroupPage = ChoiceGroupPage; }); //# sourceMappingURL=ChoiceGroupPage.js.map