1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
| <script setup lang="ts">
| const { label } = defineProps({
| label: {
| type: String,
| required: true
| },
| icon: {
| type: String,
| required: false
| }
| })
| </script>
|
| <template>
| <div class="cell-item">
| <Icon :icon="icon" v-if="icon" style="vertical-align: middle" :size="18" />
| {{ label }}
| </div>
| </template>
|
| <style scoped lang="scss">
| .cell-item {
| display: inline;
| }
|
| .cell-item::after {
| content: ':';
| }
| </style>
|
|