office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
24 lines • 2.92 kB
JavaScript
define(["require", "exports", "tslib", "react", "@uifabric/example-app-base", "./examples/Rating.Basic.Example", "./examples/Rating.ButtonControlled.Example", "../../demo/ComponentStatus/ComponentStatus", "./Rating.checklist"], function (require, exports, tslib_1, React, example_app_base_1, Rating_Basic_Example_1, Rating_ButtonControlled_Example_1, ComponentStatus_1, Rating_checklist_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var RatingBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Rating/examples/Rating.Basic.Example.tsx');
var RatingButtonControlledExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Rating/examples/Rating.ButtonControlled.Example.tsx');
var RatingPage = /** @class */ (function (_super) {
tslib_1.__extends(RatingPage, _super);
function RatingPage() {
return _super !== null && _super.apply(this, arguments) || this;
}
RatingPage.prototype.render = function () {
return (React.createElement(example_app_base_1.ComponentPage, { title: 'Rating', componentName: 'RatingExample', componentUrl: 'https://github.com/OfficeDev/office-ui-fabric-react/tree/master/packages/office-ui-fabric-react/src/components/Rating', exampleCards: React.createElement("div", null,
React.createElement(example_app_base_1.ExampleCard, { title: 'Rating', code: RatingBasicExampleCode },
React.createElement(Rating_Basic_Example_1.RatingBasicExample, null)),
React.createElement(example_app_base_1.ExampleCard, { title: 'Button Controlled Rating', code: RatingButtonControlledExampleCode },
React.createElement(Rating_ButtonControlled_Example_1.RatingButtonControlledExample, null))), propertiesTables: React.createElement(example_app_base_1.PropertiesTableSet, { sources: [
require('!raw-loader!office-ui-fabric-react/src/components/Rating/Rating.types.ts')
] }), overview: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/Rating/docs/RatingOverview.md')), bestPractices: React.createElement("div", null), dos: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/Rating/docs/RatingDos.md')), donts: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/Rating/docs/RatingDonts.md')), isHeaderVisible: this.props.isHeaderVisible, componentStatus: React.createElement(ComponentStatus_1.ComponentStatus, tslib_1.__assign({}, Rating_checklist_1.RatingStatus)) }));
};
return RatingPage;
}(React.Component));
exports.RatingPage = RatingPage;
});
//# sourceMappingURL=RatingPage.js.map