"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

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

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

var _box = _interopRequireDefault(require("../../box"));

var _typography = require("../../typography");

var NumSelectedRows = function NumSelectedRows(_ref) {
  var _ref$numSelectedRows = _ref.numSelectedRows,
      numSelectedRows = _ref$numSelectedRows === void 0 ? 0 : _ref$numSelectedRows,
      _ref$numSelectedRowsL = _ref.numSelectedRowsLabel,
      numSelectedRowsLabel = _ref$numSelectedRowsL === void 0 ? function () {
    return 'selected';
  } : _ref$numSelectedRowsL;
  return /*#__PURE__*/_react.default.createElement(_box.default, {
    marginRight: 3,
    "data-teamleader-ui": "datagrid-num-selected-rows"
  }, /*#__PURE__*/_react.default.createElement(_typography.TextBody, {
    element: "span",
    marginRight: 1
  }, /*#__PURE__*/_react.default.createElement(_typography.Monospaced, null, /*#__PURE__*/_react.default.createElement("strong", null, numSelectedRows))), /*#__PURE__*/_react.default.createElement(_typography.TextBody, {
    color: "neutral",
    element: "span"
  }, numSelectedRowsLabel(numSelectedRows)));
};

var _default = NumSelectedRows;
exports.default = _default;