{"size": 959, "ext": "js", "max_stars_repo_path": "src/lib/dist/components/NavBar/NavBarLinkFluent/index.js", "max_stars_repo_name": "jeremy-coleman/react-windows-ui", "max_stars_repo_stars_event_min_datetime": "2021-10-06T18:07:41.000Z", "max_stars_repo_stars_event_max_datetime": "2021-10-06T18:07:41.000Z", "max_issues_repo_path": "src/lib/dist/components/NavBar/NavBarLinkFluent/index.js", "max_issues_repo_name": "jeremy-coleman/react-windows-ui", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/lib/dist/components/NavBar/NavBarLinkFluent/index.js", "max_forks_repo_name": "jeremy-coleman/react-windows-ui", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 959.0, "max_line_length": 959, "alphanum_fraction": 0.771637122}
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _react=_interopRequireDefault(require("react")),_reactRouterDom=require("react-router-dom");function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}const NavBarLinkFluent=a=>{return/*#__PURE__*/_react.default.createElement("div",{"data-fluent-component":"true",className:"app-inline"},/*#__PURE__*/_react.default.createElement("div",{className:"app-inline"},/*#__PURE__*/_react.default.createElement("li",{className:"app-fluent-navlink app-fluent-effect"},/*#__PURE__*/_react.default.createElement(_reactRouterDom.NavLink,{to:a.to,exact:a.exact},a.icon,/*#__PURE__*/_react.default.createElement("span",null,a.text),a.showBadge?(()=>/*#__PURE__*/_react.default.createElement("div",{className:"app-badge"},a.showBadge))():""))))};NavBarLinkFluent.defaultProps={text:"link text",exact:!1,to:"#"};var _default=NavBarLinkFluent;exports.default=_default;