refs #6416 feat: VnIcon
gitea/salix-front/pipeline/head There was a failure building this commit
Details
gitea/salix-front/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
dadc03392d
commit
a06b796a13
|
@ -0,0 +1,13 @@
|
||||||
|
<script setup>
|
||||||
|
import { useI18n } from 'vue-i18n';
|
||||||
|
|
||||||
|
const $props = defineProps({
|
||||||
|
name: { type: String, require: true, default: null },
|
||||||
|
color: { type: String, require: true, default: null },
|
||||||
|
});
|
||||||
|
const { t } = useI18n();
|
||||||
|
</script>
|
||||||
|
<template>
|
||||||
|
<QIcon :name="$props.name" :color="$props.color" />
|
||||||
|
</template>
|
||||||
|
<style lang="scss" scoped></style>
|
Loading…
Reference in New Issue