Commit | Line | Data |
---|---|---|
1 | <template> | |
2 | <Modal :visibility="props.isVisible"> | |
3 | <div class="card-info">vendor: {{ props.info.chargePointVendor }}</div> | |
4 | </Modal> | |
5 | </template> | |
6 | ||
7 | <script setup lang="ts"> | |
8 | import Modal from '@/components/Modal.vue'; | |
9 | import type { ChargingStationInfo } from '@/type/ChargingStationType'; | |
10 | ||
11 | const props = defineProps<{ | |
12 | isVisible: boolean; | |
13 | info: ChargingStationInfo; | |
14 | }>(); | |
15 | </script> | |
16 | ||
17 | <style> | |
18 | .card-info { | |
19 | background-color: white; | |
20 | padding: 15px; | |
21 | } | |
22 | </style> |