Home / Function/ ReportStickyNav() — supabase Function Reference

ReportStickyNav() — supabase Function Reference

Architecture documentation for the ReportStickyNav() function in ReportStickyNav.tsx from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/studio/components/interfaces/Reports/ReportStickyNav.tsx lines 4–19

const ReportStickyNav = ({
  content,
  children,
  className,
}: PropsWithChildren<{ className?: string; content: React.ReactNode }>) => {
  return (
    <section className={cn('relative flex flex-col gap-4 pt-16 -mt-2', className)}>
      <div className="absolute inset-0 z-40 pointer-events-none flex flex-col gap-4">
        <div className="sticky top-0 py-4 mb-4 flex items-center gap-2 pointer-events-auto dark:bg-background-200 bg-background">
          {content}
        </div>
      </div>
      {children}
    </section>
  )
}

Subdomains

Analyze Your Own Codebase

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

Try Supermodel Free