UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

23 lines 1.19 kB
import * as tslib_1 from "tslib"; import * as React from 'react'; import { Label } from 'office-ui-fabric-react/lib/Label'; import { Pivot, PivotItem, PivotLinkSize } from 'office-ui-fabric-react/lib/Pivot'; var PivotLargeExample = /** @class */ (function (_super) { tslib_1.__extends(PivotLargeExample, _super); function PivotLargeExample() { return _super !== null && _super.apply(this, arguments) || this; } PivotLargeExample.prototype.render = function () { return (React.createElement("div", null, React.createElement(Pivot, { linkSize: PivotLinkSize.large }, React.createElement(PivotItem, { linkText: "My Files" }, React.createElement(Label, null, "Pivot #1")), React.createElement(PivotItem, { linkText: "Recent" }, React.createElement(Label, null, "Pivot #2")), React.createElement(PivotItem, { linkText: "Shared with me" }, React.createElement(Label, null, "Pivot #3"))))); }; return PivotLargeExample; }(React.Component)); export { PivotLargeExample }; //# sourceMappingURL=Pivot.Large.Example.js.map