<template>
  <WlSvg :type="type" :width="width" :height="height" :color="color" :sub="sub" />
</template>

<script lang="ts">
export default {
  name: "WlSvgIcon",
};
</script>

<script setup lang="ts">
import WlSvg from "@wltech/svg";
type Props = {
  type: string;
  color?: string;
  width?: string;
  height?: string;
};
withDefaults(defineProps<Props>(), {
  type: "",
  width: "16",
  height: "16",
  color: "var(--wl-text-color-title-1)",
});
const sub = location.origin;
</script>
