xl vision
  • Component
  • React Hooks
  • Playground
  • Overview
  • Color
  • Getting Start
    • Installation
  • General
    • Icon
    • Button
  • Layout
    • Grid
  • Form
    • Input
    • InputNumber
    • Textarea
  • Navigation
    • Dropdown
    • Affix
    • BackTop
    • Anchor
  • Data Display
    • Tooltip
    • Popover
    • Avatar
  • Faceback
    • Popconfirm
    • Dialog
    • Message
    • Notication
  • Animation
    • Transition
    • TransitionGroup
    • CollapseTransition
    • Ripple
  • Styles
    • Theme
    • CssBaseline
  • Basic Component
    • BaseButton
    • Portal
    • Popper
    • Modal
    • ResizeObserver

Popconfirm

Click on the element to pop up a bubble-type confirmation box.

Examples

Basic

Basic

Asynchronous hide

Asynchronous hide

Properties

For more parameters, please refer to Popper properties.

PropertyDescriptionTypeDefaultRequire
titleTitleReact.ReactNode-true
iconCustom iconReact.ReactNode-false
onCancelClick to cancel the event() => void | Promise<void>-false
onConfirmClick to confirm event() => void | Promise<void>-false
cancelButtonPropsThe props of the cancel button, refer to Buttonobject-false
confirmButtonPropsThe props of the confirm button, refer to Buttonobject-false
cancelTextCancel button text, support i18nstring取消false
confirmTextConfirm button text, support i18nstring确认false
hideArrowShow arrowboolean-false
Examples
Basic
Asynchronous hide
Properties
Copyright © 2020-2021 Rhys Xia