office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
24 lines (22 loc) • 1.45 kB
JavaScript
;
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var React = require('react');
var index_1 = require('../../components/index');
var ColorPicker_Basic_Example_1 = require('./examples/ColorPicker.Basic.Example');
var ColorPickerBasicExampleCode = require('./examples/ColorPicker.Basic.Example.tsx');
var ColorPickerPage = (function (_super) {
__extends(ColorPickerPage, _super);
function ColorPickerPage() {
_super.apply(this, arguments);
}
ColorPickerPage.prototype.render = function () {
return (React.createElement("div", {className: 'ColorPickerExample'}, React.createElement("h1", {className: 'ms-font-xxl'}, "ColorPicker"), React.createElement("div", null, "ColorPicker is used to allow a user to select a color"), React.createElement("h2", {className: 'ms-font-xl'}, "Examples"), React.createElement(index_1.ExampleCard, {title: 'ColorPicker', code: ColorPickerBasicExampleCode}, React.createElement(ColorPicker_Basic_Example_1.ColorPickerBasicExample, null)), React.createElement(index_1.PropertiesTableSet, {componentName: 'ColorPicker'})));
};
return ColorPickerPage;
}(React.Component));
exports.ColorPickerPage = ColorPickerPage;
//# sourceMappingURL=ColorPickerPage.js.map