Home / Type/ InlineWidgetProps Type — supabase Architecture

InlineWidgetProps Type — supabase Architecture

Architecture documentation for the InlineWidgetProps type/interface in InlineWidget.tsx from the supabase codebase.

Entity Profile

Source Code

apps/studio/components/interfaces/SQLEditor/InlineWidget.tsx lines 5–28

export interface InlineWidgetProps {
  /**
   * The Monaco editor instance.
   */
  editor: editor.IStandaloneCodeEditor | editor.IStandaloneDiffEditor

  /**
   * ID used by Monaco to reference this widget
   */
  id: string

  /**
   * The line number after or before which this zone should appear.
   * Use 0 to place a view zone before the first line number.
   */
  afterLineNumber: number
  beforeLineNumber?: number

  /**
   * The height in lines of the view zone.
   * @default 1
   */
  heightInLines?: number
}

Analyze Your Own Codebase

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

Try Supermodel Free