UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

20 lines 1.94 kB
define(["require", "exports", "tslib", "react", "@uifabric/example-app-base", "./examples/ColorPicker.Basic.Example", "../../demo/ComponentStatus/ComponentStatus", "./ColorPicker.checklist"], function (require, exports, tslib_1, React, example_app_base_1, ColorPicker_Basic_Example_1, ComponentStatus_1, ColorPicker_checklist_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var ColorPickerBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/ColorPicker/examples/ColorPicker.Basic.Example.tsx'); var ColorPickerPage = /** @class */ (function (_super) { tslib_1.__extends(ColorPickerPage, _super); function ColorPickerPage() { return _super !== null && _super.apply(this, arguments) || this; } ColorPickerPage.prototype.render = function () { return (React.createElement(example_app_base_1.ComponentPage, { title: 'ColorPicker', componentName: 'ColorPickerExample', exampleCards: React.createElement(example_app_base_1.ExampleCard, { title: 'Default ColorPicker', code: ColorPickerBasicExampleCode }, React.createElement(ColorPicker_Basic_Example_1.ColorPickerBasicExample, null)), propertiesTables: React.createElement(example_app_base_1.PropertiesTableSet, { sources: [ require('!raw-loader!office-ui-fabric-react/src/components/ColorPicker/ColorPicker.types.ts') ] }), overview: React.createElement("div", null, "ColorPicker is used to allow a user to select a color"), isHeaderVisible: this.props.isHeaderVisible, componentStatus: React.createElement(ComponentStatus_1.ComponentStatus, tslib_1.__assign({}, ColorPicker_checklist_1.ColorPickerStatus)) })); }; return ColorPickerPage; }(React.Component)); exports.ColorPickerPage = ColorPickerPage; }); //# sourceMappingURL=ColorPickerPage.js.map