office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
24 lines • 3 kB
JavaScript
define(["require", "exports", "tslib", "react", "@uifabric/example-app-base", "./examples/Checkbox.Basic.Example", "./examples/Checkbox.ImplementationExamples", "../../demo/ComponentStatus/ComponentStatus", "./Checkbox.checklist"], function (require, exports, tslib_1, React, example_app_base_1, Checkbox_Basic_Example_1, Checkbox_ImplementationExamples_1, ComponentStatus_1, Checkbox_checklist_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var CheckboxBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Checkbox/examples/Checkbox.Basic.Example.tsx');
var CheckboxImplementationExamplesCode = require('!raw-loader!office-ui-fabric-react/src/components/Checkbox/examples/Checkbox.ImplementationExamples.tsx');
var CheckboxPage = /** @class */ (function (_super) {
tslib_1.__extends(CheckboxPage, _super);
function CheckboxPage() {
return _super !== null && _super.apply(this, arguments) || this;
}
CheckboxPage.prototype.render = function () {
return (React.createElement(example_app_base_1.ComponentPage, { title: 'Checkbox', componentName: 'CheckboxExample', componentUrl: 'https://github.com/OfficeDev/office-ui-fabric-react/tree/master/packages/office-ui-fabric-react/src/components/Checkbox', exampleCards: React.createElement("div", null,
React.createElement(example_app_base_1.ExampleCard, { title: 'Default Checkbox', code: CheckboxBasicExampleCode },
React.createElement(Checkbox_Basic_Example_1.CheckboxBasicExample, null)),
React.createElement(example_app_base_1.ExampleCard, { title: 'Implementation Examples', code: CheckboxImplementationExamplesCode },
React.createElement(Checkbox_ImplementationExamples_1.CheckboxImplementationExamples, null))), propertiesTables: React.createElement(example_app_base_1.PropertiesTableSet, { sources: [
require('!raw-loader!office-ui-fabric-react/src/components/Checkbox/Checkbox.types.ts')
] }), overview: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/Checkbox/docs/CheckboxOverview.md')), bestPractices: React.createElement("div", null), dos: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/Checkbox/docs/CheckboxDos.md')), donts: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/Checkbox/docs/CheckboxDonts.md')), isHeaderVisible: this.props.isHeaderVisible, componentStatus: React.createElement(ComponentStatus_1.ComponentStatus, tslib_1.__assign({}, Checkbox_checklist_1.CheckboxStatus)) }));
};
return CheckboxPage;
}(React.Component));
exports.CheckboxPage = CheckboxPage;
});
//# sourceMappingURL=CheckboxPage.js.map