mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 03:29:59 +08:00
Merge pull request #594 from shelwei/master
docs: update Modal.confirm demo
This commit is contained in:
commit
5559f32b64
@ -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