Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

597 B
Raw Blame
import Breadcrumbs from '~/components/Breadcrumbs'
import { type ReactNode } from 'react'
import { cn } from 'ui'

interface GuideArticleProps {
  children: ReactNode
  className?: string
}

export function GuideArticle({ children, className }: GuideArticleProps) {
  return (
    <>
      <Breadcrumbs className="mb-6" />
      <article
        // Used to get headings for the table of contents
        id="sb-docs-guide-main-article"
        data-testid="sb-docs-guide-main-article"
        className={cn('prose max-w-none', className)}
      >
        {children}
      </article>
    </>
  )
}