UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

24 lines (22 loc) 1.56 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 ColorPickerBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/ColorPicker/examples/ColorPicker.Basic.Example.tsx'); var ColorPickerPage = (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: '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.Props.ts') ] }), overview: React.createElement("div", null, "ColorPicker is used to allow a user to select a color"), isHeaderVisible: this.props.isHeaderVisible })); }; return ColorPickerPage; }(React.Component)); exports.ColorPickerPage = ColorPickerPage; //# sourceMappingURL=ColorPickerPage.js.map