Home / Function/ AlertDialogWarning() — supabase Function Reference

AlertDialogWarning() — supabase Function Reference

Architecture documentation for the AlertDialogWarning() function in alert-dialog-warning.tsx from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/design-system/registry/default/example/alert-dialog-warning.tsx lines 14–35

export default function AlertDialogWarning() {
  return (
    <AlertDialog>
      <AlertDialogTrigger asChild>
        <Button type="warning">Show Alert Dialog</Button>
      </AlertDialogTrigger>
      <AlertDialogContent>
        <AlertDialogHeader>
          <AlertDialogTitle>Update branch</AlertDialogTitle>
          <AlertDialogDescription>
            This branch has 3 modified edge functions that will be overwritten when updating with
            the latest functions from the production branch. This action cannot be undone.
          </AlertDialogDescription>
        </AlertDialogHeader>
        <AlertDialogFooter>
          <AlertDialogCancel>Cancel</AlertDialogCancel>
          <AlertDialogAction variant="warning">Update</AlertDialogAction>
        </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