We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04353a2 commit e9a6024Copy full SHA for e9a6024
components/Products/ProductImage.vue
@@ -10,6 +10,17 @@
10
</template>
11
12
<script setup>
13
+/**
14
+ * Vue.js component for displaying an image with configurable properties.
15
+ *
16
+ * @param {Object} props - Object containing the component's properties.
17
+ * @param {String} props.alt - The alt text for the image (required).
18
+ * @param {String} props.src - The source URL for the image (required).
19
+ * @param {String} [props.width] - The width of the image.
20
+ * @param {String} [props.height] - The height of the image.
21
+ * @returns {Object} The Vue.js component object.
22
+ */
23
+
24
import { computed } from "vue";
25
26
const props = defineProps({
0 commit comments