import script$1 from './TsIcon.mjs';
import { resolveComponent, openBlock, createElementBlock, createElementVNode, createBlock, createCommentVNode, renderSlot } from 'vue';

var script = {
    components: {
        TsIcon: script$1,
    },
    props: {
        iconName: {
            type: String,
            required: true,
        },
        iconSize: {
            type: String,
            default: "h-[20px]",
        },
    },
    name: "TsIconCard",
};

const _hoisted_1 = { class: "flex w-full flex-col col-span-full space-y-2" };
const _hoisted_2 = { class: "flex w-full flex-row items-center justify-between cursor-pointer px-3 py-3 border-[1px] rounded" };
const _hoisted_3 = { class: "flex flex-row space-x-2 items-center" };

function render(_ctx, _cache, $props, $setup, $data, $options) {
  const _component_ts_icon = resolveComponent("ts-icon");

  return (openBlock(), createElementBlock("div", _hoisted_1, [
    createElementVNode("div", _hoisted_2, [
      createElementVNode("div", _hoisted_3, [
        ($props.iconName)
          ? (openBlock(), createBlock(_component_ts_icon, {
              key: 0,
              name: $props.iconName,
              customClass: `${$props.iconSize}`
            }, null, 8 /* PROPS */, ["name", "customClass"]))
          : createCommentVNode("v-if", true),
        renderSlot(_ctx.$slots, "name")
      ]),
      renderSlot(_ctx.$slots, "extra")
    ])
  ]))
}

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

export { script as default };
