@uifabric/experiments
Version:
Experimental React components for building experiences for Office 365.
27 lines • 1.32 kB
JavaScript
define(["require", "exports", "tslib", "react", "../Separator", "office-ui-fabric-react"], function (require, exports, tslib_1, React, Separator_1, office_ui_fabric_react_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var theme = office_ui_fabric_react_1.createTheme({
fonts: {
medium: {
fontFamily: 'Monaco, Menlo, Consolas',
fontSize: '30px'
}
}
});
var SeparatorThemingExample = /** @class */ (function (_super) {
tslib_1.__extends(SeparatorThemingExample, _super);
function SeparatorThemingExample() {
return _super !== null && _super.apply(this, arguments) || this;
}
SeparatorThemingExample.prototype.render = function () {
var message = 'Today';
return (React.createElement("div", null,
React.createElement("p", null, "Horizontal center aligned with custom theme"),
React.createElement(Separator_1.Separator, { text: message, alignText: "center", theme: theme })));
};
return SeparatorThemingExample;
}(React.Component));
exports.SeparatorThemingExample = SeparatorThemingExample;
});
//# sourceMappingURL=Separator.Theming.Example.js.map