UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

29 lines 1.73 kB
import * as tslib_1 from "tslib"; import * as React from 'react'; import { Label } from 'office-ui-fabric-react/lib/Label'; import { PivotLinkSize, PivotLinkFormat, PivotItem, Pivot } from 'office-ui-fabric-react/lib/Pivot'; import { CalloutBasicExample } from '../../Callout/examples/Callout.Basic.Example'; import { SpinnerBasicExample } from '../../Spinner/examples/Spinner.Basic.Example'; import { PersonaBasicExample } from '../../Persona/examples/Persona.Basic.Example'; var PivotFabricExample = /** @class */ (function (_super) { tslib_1.__extends(PivotFabricExample, _super); function PivotFabricExample() { return _super !== null && _super.apply(this, arguments) || this; } PivotFabricExample.prototype.render = function () { return (React.createElement("div", null, React.createElement(Pivot, { linkFormat: PivotLinkFormat.links, linkSize: PivotLinkSize.normal }, React.createElement(PivotItem, { linkText: "Callout" }, React.createElement(Label, null, "Callout Example"), React.createElement(CalloutBasicExample, null)), React.createElement(PivotItem, { linkText: "Spinner" }, React.createElement(Label, null, "Spinner Example"), React.createElement(SpinnerBasicExample, null)), React.createElement(PivotItem, { linkText: "Persona" }, React.createElement(Label, null, "Persona Example"), React.createElement(PersonaBasicExample, null))))); }; return PivotFabricExample; }(React.Component)); export { PivotFabricExample }; //# sourceMappingURL=Pivot.Fabric.Example.js.map