Skip to content

Commit

Permalink
docs: cleanup demo (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte authored Dec 4, 2023
1 parent e5113a9 commit 8093b13
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/demos/range-calendar-demo.svelte
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
<script lang="ts">
import { RangeCalendar, type DateRange } from "$lib";
import { RangeCalendar } from "$lib";
import { cn } from "@/utils";
import { CaretRight, CaretLeft } from "phosphor-svelte";
let value: DateRange | undefined = undefined;
</script>

<div>start: {value?.start}</div>
<div>end: {value?.end}</div>
<RangeCalendar.Root
class="mt-6 rounded-15px border border-dark-10 bg-background p-[22px] shadow-card"
let:months
let:weekdays
bind:value
weekdayFormat="short"
>
<RangeCalendar.Header class="flex items-center justify-between">
Expand Down

0 comments on commit 8093b13

Please sign in to comment.