"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.FilterTagContent = FilterTagContent;
var _react = _interopRequireDefault(require("react"));
var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/cairo/dist/cjs/components/AppliedFiltersTagList/FilterTagContent.tsx";
function FilterTagContent({
  filterProps,
  children
}) {
  var _filterProps$toolbarT, _filterProps$accordio;
  const filterName = (filterProps == null || (_filterProps$toolbarT = filterProps.toolbarTagProps) == null ? void 0 : _filterProps$toolbarT.label) ?? (filterProps == null || (_filterProps$accordio = filterProps.accordionItemProps) == null ? void 0 : _filterProps$accordio.label);
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, filterName && /*#__PURE__*/_react.default.createElement("span", {
    style: {
      fontWeight: 530
    },
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 18,
      columnNumber: 9
    }
  }, `${filterName}: `), children);
}
//# sourceMappingURL=FilterTagContent.js.map