From 042f016dd43997843600bd0f0c8777826eab7f7d Mon Sep 17 00:00:00 2001 From: shelwin Date: Wed, 25 Nov 2015 16:17:58 +0800 Subject: [PATCH] update modal confirm demo --- components/modal/demo/confirm-promise.md | 2 +- components/modal/demo/confirm.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/modal/demo/confirm-promise.md b/components/modal/demo/confirm-promise.md index 103ea7186b..9d7488cf57 100644 --- a/components/modal/demo/confirm-promise.md +++ b/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({ diff --git a/components/modal/demo/confirm.md b/components/modal/demo/confirm.md index a5114f39f2..5d15df5dcc 100644 --- a/components/modal/demo/confirm.md +++ b/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({