Skip to content

Commit 8093b13

Browse files
authored
docs: cleanup demo (#198)
1 parent e5113a9 commit 8093b13

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/components/demos/range-calendar-demo.svelte

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
<script lang="ts">
2-
import { RangeCalendar, type DateRange } from "$lib";
2+
import { RangeCalendar } from "$lib";
33
import { cn } from "@/utils";
44
import { CaretRight, CaretLeft } from "phosphor-svelte";
5-
let value: DateRange | undefined = undefined;
65
</script>
76

8-
<div>start: {value?.start}</div>
9-
<div>end: {value?.end}</div>
107
<RangeCalendar.Root
118
class="mt-6 rounded-15px border border-dark-10 bg-background p-[22px] shadow-card"
129
let:months
1310
let:weekdays
14-
bind:value
1511
weekdayFormat="short"
1612
>
1713
<RangeCalendar.Header class="flex items-center justify-between">

0 commit comments

Comments
 (0)