Home / Function/ RichText() — supabase Function Reference

RichText() — supabase Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  6e8b404c_6f70_eb60_7b73_fb67c9b17cc6["RichText()"]
  6215f5f8_959b_0d27_9c02_ce5f395aab88["cn()"]
  6e8b404c_6f70_eb60_7b73_fb67c9b17cc6 -->|calls| 6215f5f8_959b_0d27_9c02_ce5f395aab88
  style 6e8b404c_6f70_eb60_7b73_fb67c9b17cc6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/cms/src/components/RichText/index.tsx lines 68–85

export default function RichText(props: Props) {
  const { className, enableProse = true, enableGutter = true, ...rest } = props
  return (
    <ConvertRichText
      converters={jsxConverters}
      className={cn(
        'payload-richtext',
        {
          container: enableGutter,
          'max-w-none': !enableGutter,
          'mx-auto prose md:prose-md dark:prose-invert': enableProse,
        },
        className
      )}
      {...rest}
    />
  )
}

Domain

Subdomains

Calls

Frequently Asked Questions

What does RichText() do?
RichText() is a function in the supabase codebase.
What does RichText() call?
RichText() calls 1 function(s): cn.

Analyze Your Own Codebase

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

Try Supermodel Free