{/* * _____ _ *|_ _|_ _____ _ __ | |_ _ _ * | | \ \ /\ / / _ \ '_ \| __| | | | Auto-generated file * | | \ V V / __/ | | | |_| |_| | DO NOT EDIT - changes will be overwritten * |_| \_/\_/ \___|_| |_|\__|\__, | Generated by: npx nx generate:ui twenty-docs * |___/ * * This file is generated from the documentation data in packages/twenty-ui/generated. * To update it, edit the component prop types or design tokens in twenty-ui and run: * npx nx generate:ui twenty-docs */} ### AlertDialog.Root A ref to imperative actions. - `unmount`: Manually unmounts the alert dialog. Call this after any externally controlled closing animation finishes. - `close`: Closes the alert dialog imperatively when called. The content of the dialog. This can be a regular React node or a render function that receives the `payload` of the active trigger. Whether the dialog is initially open. To render a controlled dialog, use the `open` prop instead. ID of the trigger that the dialog is associated with. This is useful in conjunction with the `defaultOpen` prop to create an initially open dialog. A handle to associate the alert dialog with a trigger. If specified, allows external triggers to control the alert dialog's open state. Can be created with the AlertDialog.createHandle() method. Event handler called when the alert dialog is opened or closed. Event handler called after any animations complete when the dialog is opened or closed. Whether the dialog is currently open. ID of the trigger that the dialog is associated with. This is useful in conjunction with the `open` prop to create a controlled dialog. There's no need to specify this prop when the dialog is uncontrolled (that is, when the `open` prop is not set). ### AlertDialog.Trigger CSS class applied to the element, or a function that returns a class based on the component's state. A handle to associate the trigger with an alert dialog. Can be created with the AlertDialog.createHandle() method. ID of the trigger. In addition to being forwarded to the rendered element, it is also used to specify the active trigger for the dialog in controlled mode (with the DialogRoot `triggerId` prop). Whether the component renders a native `