Home / Function/ SingleSource() — supabase Function Reference

SingleSource() — supabase Function Reference

Architecture documentation for the SingleSource() function in CodeSample.client.tsx from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/docs/features/directives/CodeSample.client.tsx lines 64–78

function SingleSource({ children, source }: PropsWithChildren<{ source: string | URL }>) {
  return (
    <>
      {children}
      <Link
        href={source.toString()}
        target="_blank"
        rel="noopener noreferrer"
        className="block -mt-5 mb-4 text-right no-underline text-foreground-lighter text-sm"
      >
        View source
      </Link>
    </>
  )
}

Subdomains

Analyze Your Own Codebase

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

Try Supermodel Free