import { s as script$1 } from './headerText-0fd3adc1.mjs';
import { s as script$2 } from './normalText-66005fcf.mjs';
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, renderSlot } from 'vue';

var script = {
    components: {
        TsHeaderText: script$1,
        TsNormalText: script$2,
    },
    props: {
        bgColor: {
            type: String,
            default: "bg-primaryPurple",
        },
        color: {
            type: String,
            default: "text-white",
        },
        customClass: {
            type: String,
            default: "",
        },
    },
    name: "TsInfoCard",
};

const _hoisted_1 = { class: "flex flex-col space-y-1 items-start" };

function render(_ctx, _cache, $props, $setup, $data, $options) {
  const _component_ts_header_text = resolveComponent("ts-header-text");
  const _component_ts_normal_text = resolveComponent("ts-normal-text");

  return (openBlock(), createElementBlock("div", {
    class: normalizeClass(` border-[1px] border-gray-200 ${$props.customClass} w-full col-span-full py-3 px-3 mdlg:!px-5 mdlg:!py-5 ${$props.bgColor} rounded flex justify-between flex-row items-center`)
  }, [
    createElementVNode("div", _hoisted_1, [
      createVNode(_component_ts_header_text, {
        size: 'xl',
        color: `${$props.color}`
      }, {
        default: withCtx(() => [
          renderSlot(_ctx.$slots, "header")
        ]),
        _: 3 /* FORWARDED */
      }, 8 /* PROPS */, ["color"]),
      createVNode(_component_ts_normal_text, {
        color: `${$props.color}`
      }, {
        default: withCtx(() => [
          renderSlot(_ctx.$slots, "sub-header")
        ]),
        _: 3 /* FORWARDED */
      }, 8 /* PROPS */, ["color"])
    ]),
    createElementVNode("div", null, [
      renderSlot(_ctx.$slots, "extra")
    ])
  ], 2 /* CLASS */))
}

script.render = render;
script.__file = "src/components/TsInfoCard/index.vue";

export { script as default };
