Browse Source

Merge pull request #594 from shelwei/master

docs: update Modal.confirm demo
pull/596/head
Benjy Cui 9 years ago
parent
commit
5559f32b64
  1. 2
      components/modal/demo/confirm-promise.md
  2. 2
      components/modal/demo/confirm.md

2
components/modal/demo/confirm-promise.md

@ -8,7 +8,7 @@
````jsx
import { Modal, Button } from 'antd';
const confirm = antd.Modal.confirm;
const confirm = Modal.confirm;
function showConfirm(){
confirm({

2
components/modal/demo/confirm.md

@ -8,7 +8,7 @@
````jsx
import { Modal, Button } from 'antd';
const confirm = antd.Modal.confirm;
const confirm = Modal.confirm;
function showConfirm(){
confirm({

Loading…
Cancel
Save