Home / File/ alert-dialog-basic.tsx — ui Source File

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.

File tsx DocumentationAtlas ContentSourcing 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  6f56f8ae_9485_7cef_1f9d_b257fe676bf3["alert-dialog-basic.tsx"]
  2b692fe5_b785_687f_b967_f7269e065256["alert-dialog"]
  6f56f8ae_9485_7cef_1f9d_b257fe676bf3 --> 2b692fe5_b785_687f_b967_f7269e065256
  4544fa74_9b37_0912_c55e_f4ff161b8e83["button"]
  6f56f8ae_9485_7cef_1f9d_b257fe676bf3 --> 4544fa74_9b37_0912_c55e_f4ff161b8e83
  style 6f56f8ae_9485_7cef_1f9d_b257fe676bf3 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 AlertDialogBasic() {
  return (
    <AlertDialog>
      <AlertDialogTrigger
        render={<Button variant="outline">Show Dialog</Button>}
      />
      <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>
  )
}

Subdomains

Functions

Dependencies

  • alert-dialog
  • button

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/base/alert-dialog-basic.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