mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
Sorted all imports in all packages, `cms`, `design-system` and `ui-library` apps by running `pnpm format` on them. All changes in this PR are done by the script.
11 lines
292 B
TypeScript
11 lines
292 B
TypeScript
'use client'
|
|
|
|
import * as React from 'react'
|
|
import { Calendar } from 'ui'
|
|
|
|
export default function CalendarDemo() {
|
|
const [date, setDate] = React.useState<Date | undefined>(new Date())
|
|
|
|
return <Calendar mode="single" selected={date} onSelect={setDate} className="rounded-md border" />
|
|
}
|