Files
memberApp/src/vueLib/tables/components/IconComponent.vue
Adrian Zürcher bdcceb53e0 change whole backend and tables for gorm table references
simplify tables with table components close #31
2025-11-29 15:59:18 +01:00

19 lines
444 B
Vue

<template>
<q-td :props="props.tdProps" :class="props.inClass">
<q-icon :name="props.name" :color="props.color" :size="props.size" />
</q-td>
</template>
<script setup lang="ts">
const props = defineProps({
tdProps: { type: Object },
name: { type: String, required: true },
color: String,
inClass: String,
size: {
type: String,
validator: (v: string) => ['xs', 'sm', 'md', 'lg', 'xl'].includes(v),
},
});
</script>