Home / Function/ AlertDialogCloseOnly() — supabase Function Reference

AlertDialogCloseOnly() — supabase Function Reference

Architecture documentation for the AlertDialogCloseOnly() function in alert-dialog-close-only.tsx from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/design-system/registry/default/example/alert-dialog-close-only.tsx lines 13–33

export default function AlertDialogCloseOnly() {
  return (
    <AlertDialog>
      <AlertDialogTrigger asChild>
        <Button type="outline">Show Alert Dialog</Button>
      </AlertDialogTrigger>
      <AlertDialogContent>
        <AlertDialogHeader>
          <AlertDialogTitle>Application submitted</AlertDialogTitle>
          <AlertDialogDescription>
            Thank you for your submission! Please check your email for a confirmation link to
            complete your application.
          </AlertDialogDescription>
        </AlertDialogHeader>
        <AlertDialogFooter>
          <AlertDialogCancel>Close</AlertDialogCancel>
        </AlertDialogFooter>
      </AlertDialogContent>
    </AlertDialog>
  )
}

Domain

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free