<script setup>
const props = defineProps({
imageSrc: {
type: String,
required: true
},
imageStyle: {
type: String,
default: ''
},
});
console.log(props.imageSrc);
</script>
<template>
<img :src="imageSrc" :class="imageStyle" />
</template>
<script setup>
const props = defineProps({
imageSrc: {
type: String,
required: true
},
imageStyle: {
type: String,
default: ''
},
});
console.log(props.imageSrc);
</script>
<template>
<img :src="imageSrc" :class="imageStyle" />
</template>