alert-dialog-small.tsx — ui Source File
Architecture documentation for alert-dialog-small.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 8fc9f924_f360_7d3b_5f01_4c03493bd8f7["alert-dialog-small.tsx"] 2b692fe5_b785_687f_b967_f7269e065256["alert-dialog"] 8fc9f924_f360_7d3b_5f01_4c03493bd8f7 --> 2b692fe5_b785_687f_b967_f7269e065256 4544fa74_9b37_0912_c55e_f4ff161b8e83["button"] 8fc9f924_f360_7d3b_5f01_4c03493bd8f7 --> 4544fa74_9b37_0912_c55e_f4ff161b8e83 style 8fc9f924_f360_7d3b_5f01_4c03493bd8f7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {
AlertDialog,
AlertDialogAction,
AlertDialogCancel,
AlertDialogContent,
AlertDialogDescription,
AlertDialogFooter,
AlertDialogHeader,
AlertDialogTitle,
AlertDialogTrigger,
} from "@/examples/base/ui/alert-dialog"
import { Button } from "@/examples/base/ui/button"
export function AlertDialogSmall() {
return (
<AlertDialog>
<AlertDialogTrigger
render={<Button variant="outline">Show Dialog</Button>}
/>
<AlertDialogContent size="sm">
<AlertDialogHeader>
<AlertDialogTitle>Allow accessory to connect?</AlertDialogTitle>
<AlertDialogDescription>
Do you want to allow the USB accessory to connect to this device?
</AlertDialogDescription>
</AlertDialogHeader>
<AlertDialogFooter>
<AlertDialogCancel>Don't allow</AlertDialogCancel>
<AlertDialogAction>Allow</AlertDialogAction>
</AlertDialogFooter>
</AlertDialogContent>
</AlertDialog>
)
}
Domain
Subdomains
Functions
Dependencies
- alert-dialog
- button
Source
Frequently Asked Questions
What does alert-dialog-small.tsx do?
alert-dialog-small.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-small.tsx?
alert-dialog-small.tsx defines 1 function(s): AlertDialogSmall.
What does alert-dialog-small.tsx depend on?
alert-dialog-small.tsx imports 2 module(s): alert-dialog, button.
Where is alert-dialog-small.tsx in the architecture?
alert-dialog-small.tsx is located at apps/v4/examples/base/alert-dialog-small.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