office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
21 lines • 1.03 kB
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
var React = require("react");
var Label_1 = require("office-ui-fabric-react/lib/Label");
var Pivot_1 = require("office-ui-fabric-react/lib/Pivot");
var labelStyles = {
root: { marginTop: 10 }
};
exports.PivotBasicExample = function () {
return (React.createElement(Pivot_1.Pivot, null,
React.createElement(Pivot_1.PivotItem, { headerText: "My Files", headerButtonProps: {
'data-order': 1,
'data-title': 'My Files Title'
} },
React.createElement(Label_1.Label, { styles: labelStyles }, "Pivot #1")),
React.createElement(Pivot_1.PivotItem, { headerText: "Recent" },
React.createElement(Label_1.Label, { styles: labelStyles }, "Pivot #2")),
React.createElement(Pivot_1.PivotItem, { headerText: "Shared with me" },
React.createElement(Label_1.Label, { styles: labelStyles }, "Pivot #3"))));
};
//# sourceMappingURL=Pivot.Basic.Example.js.map
;