File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<label class =" flex items-center space-x-2 cursor-pointer" >
3
3
<input type =" checkbox" class =" form-checkbox h-4 w-4 text-blue-600 rounded" disabled />
4
- <span class =" text-sm" >< slot >Checkbox</ slot > </span >
4
+ <span class =" text-sm" >{{ label }} </span >
5
5
</label >
6
6
</template >
7
7
8
8
<script setup>
9
- // No logic yet, presentational only
9
+ defineProps ({
10
+ label: {
11
+ type: String ,
12
+ default: ' ' ,
13
+ },
14
+ });
10
15
</script >
Original file line number Diff line number Diff line change 1
1
<template >
2
- <div class =" flex items-center space-x-2 w-full" >
2
+ <div class =" w-full" >
3
3
<input
4
4
type =" range"
5
5
min =" 0"
6
6
max =" 1000"
7
7
class =" w-full accent-blue-600"
8
8
disabled
9
9
/>
10
- <span class =" text-sm" >kr 0 - kr 1000</span >
10
+ <div class =" flex justify-between text-sm mt-1" >
11
+ <span >kr 0</span >
12
+ <span >kr 1000</span >
13
+ </div >
11
14
</div >
12
15
</template >
13
16
You can’t perform that action at this time.
0 commit comments