alert-dialog-basic.tsx — ui Source File
Architecture documentation for alert-dialog-basic.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 1188752c_9dd8_c062_3185_8b074926d429["alert-dialog-basic.tsx"] 812b2224_b4d4_2373_c1c1_1b64b9496f1f["alert-dialog"] 1188752c_9dd8_c062_3185_8b074926d429 --> 812b2224_b4d4_2373_c1c1_1b64b9496f1f 4b1d2128_46d9_46f0_b915_b6e1925b7876["button"] 1188752c_9dd8_c062_3185_8b074926d429 --> 4b1d2128_46d9_46f0_b915_b6e1925b7876 style 1188752c_9dd8_c062_3185_8b074926d429 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {
AlertDialog,
AlertDialogAction,
AlertDialogCancel,
AlertDialogContent,
AlertDialogDescription,
AlertDialogFooter,
AlertDialogHeader,
AlertDialogTitle,
AlertDialogTrigger,
} from "@/examples/radix/ui/alert-dialog"
import { Button } from "@/examples/radix/ui/button"
export function AlertDialogBasic() {
return (
<AlertDialog>
<AlertDialogTrigger asChild>
<Button variant="outline">Show Dialog</Button>
</AlertDialogTrigger>
<AlertDialogContent>
<AlertDialogHeader>
<AlertDialogTitle>Are you absolutely sure?</AlertDialogTitle>
<AlertDialogDescription>
This action cannot be undone. This will permanently delete your
account and remove your data from our servers.
</AlertDialogDescription>
</AlertDialogHeader>
<AlertDialogFooter>
<AlertDialogCancel>Cancel</AlertDialogCancel>
<AlertDialogAction>Continue</AlertDialogAction>
</AlertDialogFooter>
</AlertDialogContent>
</AlertDialog>
)
}
Domain
Subdomains
Functions
Dependencies
- alert-dialog
- button
Source
Frequently Asked Questions
What does alert-dialog-basic.tsx do?
alert-dialog-basic.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-basic.tsx?
alert-dialog-basic.tsx defines 1 function(s): AlertDialogBasic.
What does alert-dialog-basic.tsx depend on?
alert-dialog-basic.tsx imports 2 module(s): alert-dialog, button.
Where is alert-dialog-basic.tsx in the architecture?
alert-dialog-basic.tsx is located at apps/v4/examples/radix/alert-dialog-basic.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, directory: apps/v4/examples/radix).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free