Skip to content

@sqlrooms/ai / DeleteSessionDialog

Function: DeleteSessionDialog()

DeleteSessionDialog(props, deprecatedLegacyContext?): ReactNode

Dialog component for confirming session deletion. Displays a warning message and provides cancel/delete buttons.

Parameters

ParameterTypeDescription
propsDeleteSessionDialogProps-
deprecatedLegacyContext?anyDeprecated See React Docs

Returns

ReactNode

Example

tsx
<DeleteSessionDialog
  isOpen={true}
  onClose={() => console.log("Dialog closed")}
  onDelete={() => console.log("Session deleted")}
/>