Skip to content

Commit ec4f583

Browse files
committed
Jsdoc
1 parent e9a6024 commit ec4f583

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

components/Products/ProductPrice.vue

+8
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@
2626
</template>
2727

2828
<script setup>
29+
/**
30+
* Displays the price of a product, with support for sale prices and variations.
31+
*
32+
* @param {Object} props - The component props.
33+
* @param {Object} props.product - The product to display the price for.
34+
* @param {string} [props.priceFontSize="normal"] - The font size for the price display.
35+
* @param {boolean} [props.shouldCenterPrice=false] - Whether to center the price display.
36+
*/
2937
import { computed } from "vue";
3038
import {
3139
formatPrice,

0 commit comments

Comments
 (0)