Pouya Sanooei
a70d64451b
fix Modal docs typo
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
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
999d6184ad
docs: Sort api table
7 years ago
Wei Zhu
f89254537e
Document destroyOnClose in Chinese
7 years ago
Rohan Malhotra
c6a1861887
updated rc-dialog and docs for destroyOnClose
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
kossel
1599686fc2
docs: update docs for Modal, close #7840 ( #7952 )
7 years ago
Khalifa Lame
b381f1f5ec
docs: update Modal English doc ( #7537 )
Fixed several typos.
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
Ivan Radeljic
1651682020
Update modal documentation ( #7085 )
Add another way to destroy state on close modal
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
Bruce Mitchener
36508ffabd
Typo fixes.
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
afc163
0e6f677ff9
Fix doc headings
8 years ago
Andrew Murray
0d00c5fb6c
docs: Fixed typos ( #2921 )
8 years ago
Gray Choi
5c2087311f
docs: translate modal ( #2634 )
8 years ago