We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e4444a commit 150c684Copy full SHA for 150c684
1 file changed
src/DatePicker/components/Price.vue
@@ -0,0 +1,28 @@
1
+<template>
2
+ <div v-if="show && price" class="price">
3
+ <span class="price-symbol">{{ symbol }}</span>
4
+ <span class="price-number">{{ price }}</span>
5
+ </div>
6
+</template>
7
+
8
+<script>
9
+export default {
10
+ name: 'Price',
11
+ props: {
12
+ show: {
13
+ type: Boolean,
14
+ required: true,
15
+ },
16
+ price: {
17
+ type: String,
18
19
20
+ symbol: {
21
+ type: [String, null, undefined],
22
+ default: '',
23
24
25
+}
26
+</script>
27
28
+<style></style>
0 commit comments