confirm

v0.86.0arrow_drop_down
v0.86.0
v0.85.0
v0.84.0
STATUS
Passing
DOWNLOADS
601
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
3 months ago
subject
Called when the Modal is closed without clicking confirm.
1 contributor
Like
Use confirm in your project ?
Copied
npm i @bit/semantic-org.semantic-ui-react.confirm
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
modified
modified
modified
modified
modified
modified
chevron_left
chevron_right

Called when the Modal is closed without clicking confirm.

Called when the OK button is clicked.

Confirm ()

A Confirm modal gives the user a choice to confirm or cancel an action/

Properties
NameTypeDefault valueDescription
cancelButton
custom'Cancel'

The cancel button text.

confirmButton
custom'OK'

The OK button text.

content
custom'Are you sure?'

The ModalContent text.

header
custom

The ModalHeader text.

onCancel
function

React’s original SyntheticEvent.

onConfirm
function

React’s original SyntheticEvent.

open
bool

Whether or not the modal is visible.

size
'mini' | 'tiny' | 'small' | 'large' | 'fullscreen''small'

A Confirm can vary in size