UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

20 lines 2.71 kB
define(["require", "exports", "tslib", "react", "@uifabric/example-app-base", "./examples/SwatchColorPicker.Basic.Example", "../../demo/ComponentStatus/ComponentStatus", "./SwatchColorPicker.checklist"], function (require, exports, tslib_1, React, example_app_base_1, SwatchColorPicker_Basic_Example_1, ComponentStatus_1, SwatchColorPicker_checklist_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var SwatchColorPickerBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/SwatchColorPicker/examples/SwatchColorPicker.Basic.Example.tsx'); var SwatchColorPickerPage = /** @class */ (function (_super) { tslib_1.__extends(SwatchColorPickerPage, _super); function SwatchColorPickerPage() { return _super !== null && _super.apply(this, arguments) || this; } SwatchColorPickerPage.prototype.render = function () { return (React.createElement(example_app_base_1.ComponentPage, { title: 'SwatchColorPicker', componentName: 'SwatchColorPickerExample', componentUrl: 'https://github.com/OfficeDev/office-ui-fabric-react/tree/master/packages/office-ui-fabric-react/src/components/SwatchColorPicker', exampleCards: React.createElement(example_app_base_1.ExampleCard, { title: 'SwatchColorPicker', code: SwatchColorPickerBasicExampleCode }, React.createElement(SwatchColorPicker_Basic_Example_1.SwatchColorPickerBasicExample, null)), propertiesTables: React.createElement(example_app_base_1.PropertiesTableSet, { sources: [ require('!raw-loader!office-ui-fabric-react/src/components/SwatchColorPicker/SwatchColorPicker.types.ts') ] }), overview: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/SwatchColorPicker/docs/SwatchColorPickerOverview.md')), bestPractices: React.createElement("div", null), dos: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/SwatchColorPicker/docs/SwatchColorPickerDos.md')), donts: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/SwatchColorPicker/docs/SwatchColorPickerDonts.md')), isHeaderVisible: this.props.isHeaderVisible, componentStatus: React.createElement(ComponentStatus_1.ComponentStatus, tslib_1.__assign({}, SwatchColorPicker_checklist_1.SwatchColorPickerStatus)) })); }; return SwatchColorPickerPage; }(React.Component)); exports.SwatchColorPickerPage = SwatchColorPickerPage; }); //# sourceMappingURL=SwatchColorPickerPage.js.map