章鱼
7fd093bd0a
docs: feat components TS demo ( #34742 )
* docs: add general components TS demo
* docs: add layout components TS demo
* docs: add navigation components TS demo
* docs: add data entry components TS demo
* chore(deps): add types for qs
* docs: add data display TS demo
* docs: add feedback components TS demo
* docs: add other components TS demo
* chore(deps): add types
* docs: unified demo code style
* docs: fix lint error
* docs: add demo TS type
* docs: fix demo TS type
* test: update snapshot
* docs: fix TS demo
* feat: update Rate character type
* docs: fix lint error
* feat: update Rate character type
* feat: update Rate character type
3 years ago
MadCcc
6776bb8916
docs: demo support react18 ( #34843 )
* docs: update demo
* chore: add script
* test: fix demo test
* docs: convert demos
* chore: move script
* test: remove react-dom import
* chore: update deps
* docs: update riddle js
* test: fix image test
* docs: fix riddle demo
3 years ago
afc163
8cd4c24afc
chore: fix modal demo in small screen
3 years ago
xrkffgg
059b106ccf
docs: update confirm demo ( #24569 )
5 years ago
xrkffgg
01b98e79d9
docs: optimize site of components 3 ( #23779 )
* docs: optimize site of components in rtl 3
* add
5 years ago
ycjcl868
fa0da1257a
fix: Modal icon
5 years ago
陈帅
82b85709be
style: run lint-fix ( #17172 )
6 years ago
afc163
b780070351
💄 prittier all files
6 years ago
Aaron Cawte
1a0bac944b
Documentation - Modal Component
6 years ago
afc163
83c192ea3e
💄 fix eslint problems
6 years ago
afc163
a27c8a2740
demo: update modal demo
6 years ago
RyanHui
c095cb4665
modal add mask colse ( #12556 )
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
afc163
009ed08580
upgrade eslint-config-airbnb
7 years ago
yociduo
528a7645ca
remove cancel text
7 years ago
Eden Wang
a5a1458148
add missing trailing commna
7 years ago
Eden Wang
f7b918add3
update confirm demo
7 years ago
Benjy Cui
9ce3a1ea35
docs: update docs details for Modal, close : #6121
8 years ago
ddcat1115
24e6fb4ba6
fix Modal.confirm error when onCancel not set ( #5294 )
* fix Modal.confirm error when onCancel not set
* add test case
8 years ago
Benjy Cui
200b88246f
docs: update docs format
8 years ago
Benjy Cui
3e17551b7e
site: improve build speed
8 years ago
afc163
66891a7cc0
update demo text
8 years ago
Gray Choi
5c2087311f
docs: translate modal ( #2634 )
8 years ago
Benjy Cui
ecaa6c56c3
style: enable comma-dangle
9 years ago
afc163
03cb74ead5
upgrade eslint-config-airbnb version and fix some problems
9 years ago
Benjy Cui
df3ba36720
docs: remove useless newline in documentation
9 years ago
Benjy Cui
03d09b66e8
docs: update demo format
9 years ago
Benjy Cui
9d022ff84c
style: update code style to please lint
9 years ago
Benjy Cui
68b51e298d
style: update code style for space-before-function-paren
9 years ago
Benjy Cui
209170e813
style: update demo code style to please lint
9 years ago
afc163
91bd7f22c0
use mountNode replace the long getElementById
9 years ago
afc163
16abf46071
Fix markdown eslint errors, update .eslintrc
9 years ago
shelwin
042f016dd4
update modal confirm demo
9 years ago
afc163
753c01ae18
ES6 syntax for demo code
fix antd.notification
9 years ago
yiminghe
76b0f673ec
beta2
9 years ago
Benjy Cui
5b86a4be1d
refactor: replace `button` tag with `Button` component
9 years ago
afc163
75d710a1b8
Add some info type Modal, close #244
9 years ago
afc163
646c6853d6
move confirm into modal
10 years ago