Table of contents

None namespace

Signature
Source

packages/tldraw/src/index.ts


Methods

Body

Public function

Signature
function Body({
  className,
  children,
  style,
}: {
  className?: string
  children: any
  style?: React.CSSProperties
}): import('react/jsx-runtime').JSX.Element
Parameters
NameDescription

{ className, children, style, }

{
  className?: string
  children: any
  style?: React.CSSProperties
}
Returns
import('react/jsx-runtime').JSX.Element
Source

packages/tldraw/src/lib/ui/components/primitives/Dialog.tsx


CloseButton

Public function

Signature
function CloseButton(): import('react/jsx-runtime').JSX.Element
Source

packages/tldraw/src/lib/ui/components/primitives/Dialog.tsx


Public function

Signature
function Footer({
  className,
  children,
}: {
  className?: string
  children: any
}): import('react/jsx-runtime').JSX.Element
Parameters
NameDescription

{ className, children }

{
  className?: string
  children: any
}
Returns
import('react/jsx-runtime').JSX.Element
Source

packages/tldraw/src/lib/ui/components/primitives/Dialog.tsx


Public function

Signature
function Header({
  className,
  children,
}: {
  className?: string
  children: any
}): import('react/jsx-runtime').JSX.Element
Parameters
NameDescription

{ className, children }

{
  className?: string
  children: any
}
Returns
import('react/jsx-runtime').JSX.Element
Source

packages/tldraw/.tsbuild-api/lib/ui/components/primitives/Dialog.d.ts


Title

Public function

Signature
function Title({
  className,
  children,
}: {
  className?: string
  children: any
}): import('react/jsx-runtime').JSX.Element
Parameters
NameDescription

{ className, children }

{
  className?: string
  children: any
}
Returns
import('react/jsx-runtime').JSX.Element
Source

packages/tldraw/src/lib/ui/components/primitives/Dialog.tsx


defaultToolsdownsizeImage