Skip to content

Commit e9a6024

Browse files
committed
Jsdoc
1 parent 04353a2 commit e9a6024

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

components/Products/ProductImage.vue

+11
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,17 @@
1010
</template>
1111

1212
<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+
1324
import { computed } from "vue";
1425
1526
const props = defineProps({

0 commit comments

Comments
 (0)