alert-dialog-media.tsx — ui Source File
Architecture documentation for alert-dialog-media.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR de507b63_ff37_f02f_e0a2_1077fa58445c["alert-dialog-media.tsx"] 2b692fe5_b785_687f_b967_f7269e065256["alert-dialog"] de507b63_ff37_f02f_e0a2_1077fa58445c --> 2b692fe5_b785_687f_b967_f7269e065256 4544fa74_9b37_0912_c55e_f4ff161b8e83["button"] de507b63_ff37_f02f_e0a2_1077fa58445c --> 4544fa74_9b37_0912_c55e_f4ff161b8e83 d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"] de507b63_ff37_f02f_e0a2_1077fa58445c --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3 style de507b63_ff37_f02f_e0a2_1077fa58445c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {
AlertDialog,
AlertDialogAction,
AlertDialogCancel,
AlertDialogContent,
AlertDialogDescription,
AlertDialogFooter,
AlertDialogHeader,
AlertDialogMedia,
AlertDialogTitle,
AlertDialogTrigger,
} from "@/examples/base/ui/alert-dialog"
import { Button } from "@/examples/base/ui/button"
import { CircleFadingPlusIcon } from "lucide-react"
export function AlertDialogWithMedia() {
return (
<AlertDialog>
<AlertDialogTrigger
render={<Button variant="outline">Share Project</Button>}
/>
<AlertDialogContent>
<AlertDialogHeader>
<AlertDialogMedia>
<CircleFadingPlusIcon />
</AlertDialogMedia>
<AlertDialogTitle>Share this project?</AlertDialogTitle>
<AlertDialogDescription>
Anyone with the link will be able to view and edit this project.
</AlertDialogDescription>
</AlertDialogHeader>
<AlertDialogFooter>
<AlertDialogCancel>Cancel</AlertDialogCancel>
<AlertDialogAction>Share</AlertDialogAction>
</AlertDialogFooter>
</AlertDialogContent>
</AlertDialog>
)
}
Domain
Subdomains
Functions
Dependencies
- alert-dialog
- button
- lucide-react
Source
Frequently Asked Questions
What does alert-dialog-media.tsx do?
alert-dialog-media.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 alert-dialog-media.tsx?
alert-dialog-media.tsx defines 1 function(s): AlertDialogWithMedia.
What does alert-dialog-media.tsx depend on?
alert-dialog-media.tsx imports 3 module(s): alert-dialog, button, lucide-react.
Where is alert-dialog-media.tsx in the architecture?
alert-dialog-media.tsx is located at apps/v4/examples/base/alert-dialog-media.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