Skip to content

Commit

Permalink
feat: mention dismissing by another popup
Browse files Browse the repository at this point in the history
  • Loading branch information
limonte committed Nov 19, 2023
1 parent d161d12 commit 17e4755
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/components/HandlingDismissals.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,12 @@ export function HandlingDismissals() {
</table>

<p className="center">
If a popup is dismissed by <strong className="nowrap">Swal.close()</strong>, the Promise will be resolved with
an object{' '}
If a popup is dismissed by <strong className="nowrap">Swal.close()</strong> or another popup, the Promise will
be resolved with an object{' '}
<strong className="nowrap">
{'{'} isDismissed: true {'}'}
</strong>{' '}
(<strong>dismiss</strong> will be
<strong>undefined</strong>).
(<strong>dismiss</strong> will be <strong>undefined</strong>).
</p>
</div>
)
Expand Down

0 comments on commit 17e4755

Please sign in to comment.