Home / Function/ OldVersionAlert() — supabase Function Reference

OldVersionAlert() — supabase Function Reference

Architecture documentation for the OldVersionAlert() function in Reference.introduction.tsx from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/docs/features/docs/Reference.introduction.tsx lines 55–69

export function OldVersionAlert({ libPath, className }: { libPath: string; className?: string }) {
  return (
    <Alert_Shadcn_ variant="warning" className={cn('not-prose', className)}>
      <AlertTriangle />
      <AlertTitle_Shadcn_ className="font-medium">Version out of date</AlertTitle_Shadcn_>
      <AlertDescription_Shadcn_>
        There&apos;s a newer version of this library! Migrate to the{' '}
        <Link href={`/reference/${libPath}`} className="underline underline-offset-2">
          newest version
        </Link>
        .
      </AlertDescription_Shadcn_>
    </Alert_Shadcn_>
  )
}

Subdomains

Analyze Your Own Codebase

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

Try Supermodel Free