Public function

Signature
function ExampleDialog({
  title,
  body,
  cancel,
  confirm,
  displayDontShowAgain,
  onCancel,
  onContinue,
}: {
  body?: string
  cancel?: string
  confirm?: string
  displayDontShowAgain?: boolean
  onCancel: () => void
  onContinue: () => void
  title?: string
}): import('react/jsx-runtime').JSX.Element
Parameters
NameDescription

{ title, body, cancel, confirm, displayDontShowAgain, onCancel, onContinue, }

{
  body?: string
  cancel?: string
  confirm?: string
  displayDontShowAgain?: boolean
  onCancel: () => void
  onContinue: () => void
  title?: string
}
Returns
import('react/jsx-runtime').JSX.Element
Source

packages/tldraw/src/lib/ui/components/DebugMenu/DefaultDebugMenuContent.tsx

EventsProviderPropsexportAs