category | type | title |
---|---|---|
Components |
Feedback |
Popconfirm |
A simple and compact confirmation dialog of an action.
A simple and compact dialog used for asking for user confirmation.
The difference with the confirm
modal dialog is that it's more lightweight than the static popped full-screen confirm modal.
Param | Description | Type | Default value |
---|---|---|---|
cancelText | text of the Cancel button | string | Cancel |
okText | text of the Confirm button | string | Confirm |
okType | Button type of the Confirm button |
string | primary |
title | title of the confirmation box | ReactNode | () => ReactNode | - |
onCancel | callback of cancel | function(e) | - |
onConfirm | callback of confirmation | function(e) | - |
Consult Tooltip's documentation to find more APIs.
Please ensure that the child node of Popconfirm
accepts onMouseEnter
, onMouseLeave
, onFocus
, onClick
events.
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )