mirror of
https://github.com/BlossomiShymae/clean-cuts.git
synced 2025-12-06 10:10:47 +01:00
Init commit
This commit is contained in:
19
components/MaterialIcon.vue
Normal file
19
components/MaterialIcon.vue
Normal file
@@ -0,0 +1,19 @@
|
||||
<template>
|
||||
<svg :width="size" :height="size">
|
||||
<image :href="`/lib/MaterialDesign/svg/${name}.svg`"
|
||||
:width="size"
|
||||
:height="size"/>
|
||||
</svg>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
defineProps<{
|
||||
name: string,
|
||||
size: number
|
||||
}>();
|
||||
</script>
|
||||
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user