calendar-demo.tsx — ui Source File
Architecture documentation for calendar-demo.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 40337b43_cd03_c06b_e995_dff4066c30a2["calendar-demo.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] 40337b43_cd03_c06b_e995_dff4066c30a2 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 a8023de3_411c_8d95_59e9_37549a0c2d75["calendar"] 40337b43_cd03_c06b_e995_dff4066c30a2 --> a8023de3_411c_8d95_59e9_37549a0c2d75 style 40337b43_cd03_c06b_e995_dff4066c30a2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import * as React from "react"
import { Calendar } from "@/examples/base/ui/calendar"
export default function CalendarDemo() {
const [date, setDate] = React.useState<Date | undefined>(new Date())
return (
<Calendar
mode="single"
selected={date}
onSelect={setDate}
className="rounded-lg border"
captionLayout="dropdown"
/>
)
}
Domain
Subdomains
Functions
Dependencies
- calendar
- react
Source
Frequently Asked Questions
What does calendar-demo.tsx do?
calendar-demo.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, ContentSourcing subdomain.
What functions are defined in calendar-demo.tsx?
calendar-demo.tsx defines 1 function(s): CalendarDemo.
What does calendar-demo.tsx depend on?
calendar-demo.tsx imports 2 module(s): calendar, react.
Where is calendar-demo.tsx in the architecture?
calendar-demo.tsx is located at apps/v4/examples/base/calendar-demo.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, directory: apps/v4/examples/base).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free