@nextcloud/dialogs
    Preparing search index...

    Function showUndo

    • Show a toast message with undo styling

      Parameters

      • text: string

        Message to be shown in the toast, any HTML is removed by default

      • onUndo: (e: MouseEvent) => void

        Function that is called when the undo button is clicked

      • Optionaloptions: ToastOptions

        ToastOptions

      Returns Toastify