import React from 'react';
import classNames from 'classnames';
import { jsx as _jsx } from "react/jsx-runtime";
export const TITLE_SIZE = {
  SMALL: 'small',
  MEDIUM: 'medium',
  LARGE: 'large'
};
export const CardTitle = ({
  title,
  className,
  testId,
  size = TITLE_SIZE.SMALL,
  isCentered = false
}) => /*#__PURE__*/_jsx("div", {
  "test-id": testId,
  className: classNames('custom-card-title', {
    centered: isCentered
  }, size, className),
  children: title
});