afc163
213693e333
🌐 site: transition component category, close #11629
6 years ago
C.J. Winslow
b9a86b2ea1
Pass the ok and cancel button props in the confirm API ( #12425 )
This PR adds the `okButtonProps` and `cancelButtonProps` API to the `Modal.confirm` and associated methods.
* [x] Make sure that you propose PR to right branch: bugfix for `master`, feature for branch `feature`.
* [x] Make sure that you follow antd's [code convention](https://github.com/ant-design/ant-design/wiki/Code-convention-for-antd ).
* [x] Run `npm run lint` and fix those errors before submitting in order to keep consistent code style.
* [x] Rebase before creating a PR to keep commit history clear.
* [x] Add some descriptions and refer relative issues for you PR.
Extra checklist:
*isNewFeature* **:**
* [x] Update API docs for the component.
* [x] Update/Add demo to demonstrate new feature.
* [x] Update TypeScript definition for the component.
* [x] Add unit tests for the feature.
6 years ago
Erwin Kort
2d8f9ccf63
Add button autofocus prop to confirm modal ( #11756 )
@picodoth
6 years ago
afc163
9fdee487ce
Add test case for modal update
6 years ago
afc163
b8b9c02fb9
Add update function for Modal.method, close #11721
6 years ago
yoyo837
004d786cb4
补充中文文档
6 years ago
yoyo837
ef31697d26
Support centered settings
6 years ago
Wei Zhu
aa580beb8b
docs: sort api table
7 years ago
Randy
a614a525c4
fix #10822 ( #10955 )
Add `okButtonProps` and `cancelButtonProps` props to ok button and cancel button
7 years ago
Chenjia
5634881eda
add docs for keyboard props on modal component #8818 ( #10030 )
7 years ago
keqingrong
32ac330ca2
docs: add className for Modal.method
7 years ago
Wei Zhu
f89254537e
Document destroyOnClose in Chinese
7 years ago
Wei Zhu
36227a10db
docs: sort api table
7 years ago
monkindey
fe19a9b124
rerun api-sort script
7 years ago
monkindey
0bc5936b23
resolve conflicted files
7 years ago
Benjy Cui
ff5d05129f
docs: translate 1599686
7 years ago
Benjy Cui
59193ef34a
Revert "Patch 1 ( #7471 )"
This reverts commit 9667ec17bd
.
7 years ago
kuang
9667ec17bd
Patch 1 ( #7471 )
* default value error
f10a2abbd8/src/Modal.tsx (L53)
* default value error
7 years ago
afc163
61aac68028
doc: remove new key way
7 years ago
Benjy Cui
456cea652b
docs: add zIndex to docs of Modal, ref: 2aa3437
7 years ago
yociduo
fa0e90f577
remove cancel type
7 years ago
yociduo
528a7645ca
remove cancel text
7 years ago
Eden Wang
c712d072eb
update okType and cancelType for api docs
7 years ago
乐仪
1dd3e001c5
Update Modal doc, relevant: https://github.com/ant-design/ant-design/pull/7085
7 years ago
Benjy Cui
977a5a1cc7
docs: add missing API docs for Modal, close : #6239
8 years ago
Benjy Cui
9ce3a1ea35
docs: update docs details for Modal, close : #6121
8 years ago
afc163
a42a507e2b
percise modal document
8 years ago
afc163
19bebebc60
percise modal document
8 years ago
ddcat1115
e07cdf5387
add left out event parameters for Modal[onOk] Popconfirm[onConfirm] Popconfirm[onCancel] ( #5042 )
8 years ago
afc163
b427adec21
docs: add instrunction about footer={null}
8 years ago
Wei Zhu
77b78a9389
docs: Unify type naming ( #4636 )
* Unify name of ReactNode type in document
* Lowser all string type name
* Lowercase all number type name
* Lowercase all boolean type name
* Unify array type
* Lowercase all object type name
* Unify mutilple types
8 years ago
afc163
75abadac84
Add doc about clearing Modal old state
8 years ago
Pixy Yuan
a2bef2b87e
feat: Modal.confirm add maskClosable option ( #4488 ) ( #4490 )
* feat: Modal.confirm add maskClosable option (#4488 )
* feat: Modal.confirm add maskClosable option (#4488 )
8 years ago
陆离
a0498e436f
docs: add document for `afterClose` props for Modal ( #4448 )
+ close #4445
8 years ago
ddcat1115
0baef0627e
docs: 调整组件导航结构 ( #3758 )
- Layout 更名为 Grid
8 years ago
afc163
24f71ac6be
remove some blanks
8 years ago
Benjy Cui
3f67fd3f9f
docs: update docs details
8 years ago
Gray Choi
5c2087311f
docs: translate modal ( #2634 )
8 years ago
afc163
089f1ae512
update components category name
9 years ago
Benjy Cui
209e3c1f9d
docs: remove deprecated Modal.warn
9 years ago
yiminghe
fc55cf6919
keep .warn
9 years ago
Benjy Cui
8842d9342a
site: update components' type
9 years ago
afc163
51693994b5
upgrade center modal demo
9 years ago
afc163
72f68fa003
support custom Modal position and add vertical middle demo
9 years ago
afc163
5ee64fe105
Add Modal.warning
9 years ago
afc163
4c60da7316
Modal.confirm, iconClassName => iconType
9 years ago
afc163
ae87f60075
remove Modal align in API document
9 years ago
Benjy Cui
df3ba36720
docs: remove useless newline in documentation
9 years ago
Benjy Cui
d5a6932c15
docs: update documentation format
9 years ago
afc163
04f747770e
fix(docs), confirm demo & docs
9 years ago