office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
22 lines • 1.69 kB
JavaScript
import * as tslib_1 from "tslib";
import * as React from 'react';
import { ExampleCard, ComponentPage, PropertiesTableSet } from '@uifabric/example-app-base';
import { ColorPickerBasicExample } from './examples/ColorPicker.Basic.Example';
import { ComponentStatus } from '../../demo/ComponentStatus/ComponentStatus';
import { ColorPickerStatus } from './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(ComponentPage, { title: 'ColorPicker', componentName: 'ColorPickerExample', exampleCards: React.createElement(ExampleCard, { title: 'Default ColorPicker', code: ColorPickerBasicExampleCode },
React.createElement(ColorPickerBasicExample, null)), propertiesTables: React.createElement(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, tslib_1.__assign({}, ColorPickerStatus)) }));
};
return ColorPickerPage;
}(React.Component));
export { ColorPickerPage };
//# sourceMappingURL=ColorPickerPage.js.map