UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

24 lines 1.89 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var React = require("react"); var example_app_base_1 = require("@uifabric/example-app-base"); var ColorPicker_Basic_Example_1 = require("./examples/ColorPicker.Basic.Example"); var ComponentStatus_1 = require("../../demo/ComponentStatus/ComponentStatus"); var ColorPicker_checklist_1 = require("./ColorPicker.checklist"); 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