Stable
Confirm
<> <Confirm cancelText="Cancel" confirmText="Submit" description="Are you sure you want submit?" icon={icon} intent={intent} isOpen={isConfirming} onCancel={onConfirmToggle} onConfirm={onConfirmToggle} title="Confirm Submit"/> <ButtonGroup> <Button value="Toggle" intent="silent" onClick={onConfirmToggle} /> </ButtonGroup> </>
Name | Type | Description | Required |
cancelText | string | - | Yes |
confirmText | string | - | Yes |
description | string | - | |
icon | HeliosIconType | - | |
intent | HeliosIntentionType | - | Yes |
isOpen | boolean | - | Yes |
onCancel | (_?: unknown) => Promise<void> | void | - | Yes |
onConfirm | (_?: unknown) => Promise<void> | void | - | Yes |
title | string | - | Yes |