frezc
5f9b376456
[type] make type of components compatible with ComponentType<P>
6 years ago
afc163
607d08094d
🎉 Dropdown.Button support `href` prop
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
zombieJ
9b49fb60d9
Config provider ( #12991 )
close #12985
6 years ago
zombiej
15293eb7d5
fix #12078 . add ButtonHTMLType on dropdownButton
6 years ago
Junbin Huang
bbf5cb75c3
chore: update typescript@~2.9.1 ( #10748 )
7 years ago
afc163
251d882101
fix dropdown any type
7 years ago
afc163
be31f17bca
Change Dropdown.Button default icon to ellipsis
7 years ago
Wu Haotian
6019245365
fix(button): use React.HTMLProps for button's props ( #10229 )
7 years ago
sallen450
e0fb5b8866
Fix: Dropdown.Button not fully disabled ( #9013 )
* fix(Dropdown): dropdown won't be fully disabled
* test(Dropdown): check props pass to Dropdown
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
afc163
7e2d456453
Fix ci
7 years ago
Benjy Cui
e0bf1cefe7
fix: disabled of Dropdown, ref: #7102
7 years ago
Benjy Cui
39cc78685d
style: update code style
8 years ago
blankzust
3c700cd1b7
fix: Dropdown.Button should support getPopupContainer ( #6527 )
8 years ago
newraina
dde8df5612
fix Dropdown.Button Props ( #6482 )
* fix DropdownButton Props
* let DropdownButtonProps extends ButtonGroupProps
* remove duplicated props
8 years ago
afc163
3f1714bb0c
Fix placement not working in Dropdown.Button, close #5594
8 years ago
afc163
ec87110482
Fix Unknown prop `placement` warning of Dropdown.Button, close #5594
8 years ago
Benjy Cui
1351b5da5d
refactor: remove splitObject
8 years ago
afc163
89cf3a88e6
only icon down under Dropdown has smaller size, close #4023
8 years ago
Andrey G
a307a7acf7
refactor: remove unnecessary computed props for classNames ( #4055 )
* remove unnecessary computed props for classNames
* rollback autocomplete optimization for possible css style order issue
* update snapshots
* remove more unnecessary computed props at Input
8 years ago
Wei Zhu
b0c7a714ad
Don't pass visible to Dropdown if it's not exits. ( #3821 )
fix #3815
8 years ago
Wei Zhu
926425d8ec
Pass visible and onVisibleChange to Dropdown, fix #3779 ( #3782 )
8 years ago
Benjy Cui
6bd75f2666
fix: dropdown menu should not show while disabled, close : #3535
8 years ago
yiminghe
8afe3965c1
upgrade ts 2.0
8 years ago
Benjy Cui
469d24599f
fix: should support Dropdown.Button[disabled], close : #3070
8 years ago
马斯特
a25ec29fb8
refactor: 保证所有的tsx和less都正确使用prefix ( #3024 )
* refactor: extract prefix cls as less variable
* refactor: apply ant icon prefix cls in less files
* refactor: all components support prefixCls props
8 years ago
陆离
ff765002fa
refactor: rewrite form and dropdown in ts ( #2683 )
8 years ago
偏右
de359d2cf7
fix tslint problems ( #2360 )
8 years ago
yiminghe
94706f1d2c
fix ts
9 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
afc163
d0b2bdad84
Fix DropdownButton onClick behavious, should respond left button only
9 years ago
Bruce Mitchener
273e527201
Use static class members for propTypes and friends.
9 years ago
Bruce Mitchener
63c06e8652
Use ES2015 classes instead of React.createClass.
Make Breadcrumb, Checkbox, Dropdown, Steps and Timeline
components use ES2015 classes rather than React.createClass.
This includes:
* getDefaultProps method becomes a defaultProps value on the
constructor.
* propTypes becomes a value on the constructor.
9 years ago
afc163
0edd5ada9a
Fix onClick in dropdown button, close #1097
9 years ago
afc163
d62c87d036
update dropdown offset
9 years ago
Benjy Cui
711d2d7413
style: update code style to please lint
9 years ago
afc163
1e001d2d82
upgrade eslint-config-airbnb
9 years ago
afc163
2923cd8799
Add dropdown button
9 years ago