Dialogs
showDialog()
Show a dialog box

Example Usage
Call showDialog()
from record actions. Hiding the dialog is automatically handled by Attio when the user closes it.
API
TypeScript
Returns
A Promise
that resolves to an object containing:
hideDialog: () => Promise<void>
By calling hideDialog()
you can imperatively hide the dialog.
DialogOptions
title : string
The title of the dialog.
Dialog : React.FC<{ hideDialog: () => void }>
The contents of the dialog.