confirm
How to use
add
import { Plugin } from '@root'
const confirmPayload = {
message: `Are you sure about that 🤔?`,
onClose: () => {},
onCancel: () => {}
onConfirm: () => {},
closable: true,
localizations: {
cancel: 'Cancel',
confirm: 'Confirm'
}
}
Plugin.confirm.add(confirmPayload)remove
Last updated