Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.renchi.ai/llms.txt

Use this file to discover all available pages before exploring further.

ViewGlobalDocumentDialog component

Props

open
boolean
required
open
onOpenChange
(open: boolean) => void
required
onOpenChange
document
GlobalKnowledgeDocument | null
required
document
onUpdate
() => void
onUpdate

Usage

import { ViewGlobalDocumentDialog } from '@/components/ViewGlobalDocumentDialog';

export default function Example() {
  return (
    <ViewGlobalDocumentDialog open={open} onOpenChange={onOpenChange} document={document} />
  );
}