office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
24 lines • 981 B
JavaScript
import * as tslib_1 from "tslib";
import * as React from 'react';
import { Nav } from 'office-ui-fabric-react/lib/Nav';
var NavByKeysExample = /** @class */ (function (_super) {
tslib_1.__extends(NavByKeysExample, _super);
function NavByKeysExample() {
return _super !== null && _super.apply(this, arguments) || this;
}
NavByKeysExample.prototype.render = function () {
return (React.createElement(Nav, { groups: [
{
links: [
{ name: 'Home', key: 'Home', url: '' },
{ name: 'Activity', key: 'Activity', url: '' },
{ name: 'News', key: 'News', url: '' },
{ name: 'Documents', key: 'Documents', url: '' }
]
}
] }));
};
return NavByKeysExample;
}(React.Component));
export { NavByKeysExample };
//# sourceMappingURL=Nav.ByKeys.Example.js.map