style: format code using Prettier
This commit is contained in:
1 parent
6e0c14ac48
commit
aecce32842
59 files changed
+9649
-8795
No files matched your search
@@ -21,17 +21,17 @@ import { computed } from 'vue';
|
||||
const props = defineProps({
|
||||
name: {
|
||||
required: true,
|
||||
type: String
|
||||
type: String,
|
||||
},
|
||||
size: {
|
||||
type: [Number, String],
|
||||
default: 24
|
||||
}
|
||||
default: 24,
|
||||
},
|
||||
});
|
||||
|
||||
const icons = import.meta.glob('@/assets/icons/*.svg', {
|
||||
eager: true,
|
||||
import: 'default'
|
||||
import: 'default',
|
||||
});
|
||||
|
||||
const icon = computed(() => icons[`/src/assets/icons/${props.name}.svg`]);
|
||||
|
||||
Reference in new issue
Block a user