mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 21:19:37 +08:00
update modal confirm demo
This commit is contained in:
parent
2b3878549a
commit
042f016dd4
@ -8,7 +8,7 @@
|
||||
|
||||
````jsx
|
||||
import { Modal, Button } from 'antd';
|
||||
const confirm = antd.Modal.confirm;
|
||||
const confirm = Modal.confirm;
|
||||
|
||||
function showConfirm(){
|
||||
confirm({
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
````jsx
|
||||
import { Modal, Button } from 'antd';
|
||||
const confirm = antd.Modal.confirm;
|
||||
const confirm = Modal.confirm;
|
||||
|
||||
function showConfirm(){
|
||||
confirm({
|
||||
|
Loading…
Reference in New Issue
Block a user