Matterway
    Preparing search index...

    Function showWarningNotice

    • Shows a warning notice in a bubble to the user.

      Parameters

      • ctx: Context
      • options: ShowWarningNoticeOptions

      Returns Promise<NoticeBubbleResult>

      await showWarningNotice(ctx, {
      title: 'Choosing random book',
      description: 'Picking a book on Amazon based on preferred genre.',
      subtitle: t('warning.subtitle'),
      text: t('warning.text'),
      buttons: [{
      text: 'Proceed',
      value: 'ok',
      }],
      });
      await showWarningNotice(ctx,{
      title: 'Filling Form',
      description: 'This automation will help fill the form with the needed information.',
      icon: 'close-circle-outline',
      iconColor: '#color',
      subtitle: '#subtitle',
      text: 'Warning: Make sure that information that was filled is correct before proceeding to the next step',
      buttons: [{
      value: 'ok',
      text: 'Proceed',
      disabled: false,
      }],
      });