function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
import React from "react";
import { TiVideo } from "react-icons/ti";
import useTranslation from "../../utils/useTranslation";
import FeatureMenu from "../../components/FeatureMenu";

/**
 * Menu use to display feature info from punctuality layers.
 */
function TrackerMenu(props) {
  const {
    t
  } = useTranslation();
  return /*#__PURE__*/React.createElement(FeatureMenu, _extends({}, props, {
    property: "useTrackerMenu",
    menuItemProps: {
      className: "wkp-tracker-menu",
      title: t("ch.sbb.puenktlichkeit"),
      icon: /*#__PURE__*/React.createElement(TiVideo, null)
    }
  }));
}
export default /*#__PURE__*/React.memo(TrackerMenu);
//# sourceMappingURL=TrackerMenu.js.map