Skip to main content
Big news! Interval has been acquired by Meter. Learn more →

io.confirm

Requests confirmation of an action using a full-screen dialog box.

caution

io.confirm is not supported within an io.group.

Usage

const shouldDelete = await io.confirm("Delete this user account?", {
helpText: "All of their data will be deleted immediately.",
});
interval.com

Props

helpText

Optional

string

Optional label providing additional context. Supports inline markdown elements like bold, italics, and links.

Returns

boolean

Did this section clearly explain what you wanted to learn?
On this page