ant-design/d3753b46-async.94b6c4bd.js
2024-11-20 18:30:54 +00:00

1 line
5.0 KiB
JavaScript

(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["d3753b46"],{d3753b46:function(a,e,d){"use strict";d.d(e,"__esModule",{value:!0}),d.d(e,"texts",{enumerable:!0,get:function(){return o;}}),d("dcfb979a");let o=[{value:"A simple and compact dialog used for asking for user confirmation.",paraId:0,tocIndex:0},{value:"The difference with the ",paraId:1,tocIndex:0},{value:"confirm",paraId:1,tocIndex:0},{value:" modal dialog is that it's more lightweight than the static popped full-screen confirm modal.",paraId:1,tocIndex:0},{value:"Common props ref\uFF1A",paraId:2,tocIndex:12},{value:"Common props",paraId:3,tocIndex:12},{value:"Param",paraId:4,tocIndex:12},{value:"Description",paraId:4,tocIndex:12},{value:"Type",paraId:4,tocIndex:12},{value:"Default value",paraId:4,tocIndex:12},{value:"Version",paraId:4,tocIndex:12},{value:"cancelButtonProps",paraId:4,tocIndex:12},{value:"The cancel button props",paraId:4,tocIndex:12},{value:"ButtonProps",paraId:5,tocIndex:12},{value:"-",paraId:4,tocIndex:12},{value:"cancelText",paraId:4,tocIndex:12},{value:"The text of the Cancel button",paraId:4,tocIndex:12},{value:"string",paraId:4,tocIndex:12},{value:"Cancel",paraId:4,tocIndex:12},{value:"disabled",paraId:4,tocIndex:12},{value:"Whether show popconfirm when click its childrenNode",paraId:4,tocIndex:12},{value:"boolean",paraId:4,tocIndex:12},{value:"false",paraId:4,tocIndex:12},{value:"icon",paraId:4,tocIndex:12},{value:"Customize icon of confirmation",paraId:4,tocIndex:12},{value:"ReactNode",paraId:4,tocIndex:12},{value:"<ExclamationCircle />",paraId:4,tocIndex:12},{value:"okButtonProps",paraId:4,tocIndex:12},{value:"The ok button props",paraId:4,tocIndex:12},{value:"ButtonProps",paraId:6,tocIndex:12},{value:"-",paraId:4,tocIndex:12},{value:"okText",paraId:4,tocIndex:12},{value:"The text of the Confirm button",paraId:4,tocIndex:12},{value:"string",paraId:4,tocIndex:12},{value:"OK",paraId:4,tocIndex:12},{value:"okType",paraId:4,tocIndex:12},{value:"Button ",paraId:4,tocIndex:12},{value:"type",paraId:4,tocIndex:12},{value:" of the Confirm button",paraId:4,tocIndex:12},{value:"string",paraId:4,tocIndex:12},{value:"primary",paraId:4,tocIndex:12},{value:"showCancel",paraId:4,tocIndex:12},{value:"Show cancel button",paraId:4,tocIndex:12},{value:"boolean",paraId:4,tocIndex:12},{value:"true",paraId:4,tocIndex:12},{value:"4.18.0",paraId:4,tocIndex:12},{value:"title",paraId:4,tocIndex:12},{value:"The title of the confirmation box",paraId:4,tocIndex:12},{value:"ReactNode | () => ReactNode",paraId:4,tocIndex:12},{value:"-",paraId:4,tocIndex:12},{value:"description",paraId:4,tocIndex:12},{value:"The description of the confirmation box title",paraId:4,tocIndex:12},{value:"ReactNode | () => ReactNode",paraId:4,tocIndex:12},{value:"-",paraId:4,tocIndex:12},{value:"5.1.0",paraId:4,tocIndex:12},{value:"onCancel",paraId:4,tocIndex:12},{value:"A callback of cancel",paraId:4,tocIndex:12},{value:"function(e)",paraId:4,tocIndex:12},{value:"-",paraId:4,tocIndex:12},{value:"onConfirm",paraId:4,tocIndex:12},{value:"A callback of confirmation",paraId:4,tocIndex:12},{value:"function(e)",paraId:4,tocIndex:12},{value:"-",paraId:4,tocIndex:12},{value:"onPopupClick",paraId:4,tocIndex:12},{value:"A callback of popup click",paraId:4,tocIndex:12},{value:"function(e)",paraId:4,tocIndex:12},{value:"-",paraId:4,tocIndex:12},{value:"5.5.0",paraId:4,tocIndex:12},{value:"Consult ",paraId:7,tocIndex:12},{value:"Tooltip's documentation",paraId:8,tocIndex:12},{value:" to find more APIs.",paraId:7,tocIndex:12},{value:"findDOMNode is deprecated",paraId:9},{value:"This is due to the implementation of ",paraId:10,tocIndex:15},{value:"rc-trigger",paraId:10,tocIndex:15},{value:". ",paraId:10,tocIndex:15},{value:"rc-trigger",paraId:10,tocIndex:15},{value:" forces children to accept ref, otherwise it will fall back to findDOMNode, so children need to be native html tags. If not, you need to use ",paraId:10,tocIndex:15},{value:"React.forwardRef",paraId:10,tocIndex:15},{value:" transparently passes ",paraId:10,tocIndex:15},{value:"ref",paraId:10,tocIndex:15},{value:" to native html tags.",paraId:10,tocIndex:15},{value:"findDOMNode is deprecated",paraId:11,tocIndex:15},{value:" reproduce: ",paraId:11,tocIndex:15},{value:"https://codesandbox.io/p/sandbox/finddomnode-c5hy96",paraId:11,tocIndex:15},{value:"Using ",paraId:11,tocIndex:15},{value:"forwardRef",paraId:11,tocIndex:15},{value:" to fix: ",paraId:11,tocIndex:15},{value:"https://codesandbox.io/p/sandbox/no-finddomnode-warning-forked-gdxczs",paraId:11,tocIndex:15},{value:"Please ensure that the child node of ",paraId:12,tocIndex:16},{value:"Popconfirm",paraId:12,tocIndex:16},{value:" accepts ",paraId:12,tocIndex:16},{value:"onMouseEnter",paraId:12,tocIndex:16},{value:", ",paraId:12,tocIndex:16},{value:"onMouseLeave",paraId:12,tocIndex:16},{value:", ",paraId:12,tocIndex:16},{value:"onFocus",paraId:12,tocIndex:16},{value:", ",paraId:12,tocIndex:16},{value:"onClick",paraId:12,tocIndex:16},{value:" events.",paraId:12,tocIndex:16}];}}]);