"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = FieldTripGroupSize;

var _react = _interopRequireDefault(require("react"));

var _reactBootstrap = require("react-bootstrap");

var _icon = _interopRequireDefault(require("../util/icon"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function FieldTripGroupSize({
  itinerary
}) {
  return itinerary.fieldTripGroupSize > 0 && /*#__PURE__*/_react.default.createElement(_reactBootstrap.Badge, null, /*#__PURE__*/_react.default.createElement(_icon.default, {
    type: "user"
  }), itinerary.fieldTripGroupSize);
}

module.exports = exports.default;

//# sourceMappingURL=field-trip-itinerary-group-size.js