"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.TITLE_SIZE = exports.CardTitle = void 0;
var _react = _interopRequireDefault(require("react"));
var _classnames = _interopRequireDefault(require("classnames"));
var _jsxRuntime = require("react/jsx-runtime");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const TITLE_SIZE = exports.TITLE_SIZE = {
  SMALL: 'small',
  MEDIUM: 'medium',
  LARGE: 'large'
};
const CardTitle = ({
  title,
  className,
  testId,
  size = TITLE_SIZE.SMALL,
  isCentered = false
}) => /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
  "test-id": testId,
  className: (0, _classnames.default)('custom-card-title', {
    centered: isCentered
  }, size, className),
  children: title
});
exports.CardTitle = CardTitle;