frezc
5f9b376456
[type] make type of components compatible with ComponentType<P>
6 years ago
Sam Lanning
843056e58e
[chore] fix off-by-one error in loop
This fixes an alert that was found on LGTM.com
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
Wei Zhu
ee84f4ce0a
fix: some type definitions
6 years ago
Wei Zhu
ca7d265b2b
Refactor Grid with new context API ( #12320 )
* Refactor Grid with new context API
* Update snapshots of List
6 years ago
Wei Zhu
064bfaf554
Add @types/prop-types
6 years ago
Junbin Huang
bbf5cb75c3
chore: update typescript@~2.9.1 ( #10748 )
7 years ago
Wei Zhu
b7d508e166
Fix Row gutter type
7 years ago
Wei Zhu
518c424ca4
Improve Grid and Layout type definition
7 years ago
Wei Zhu
bebc57978d
Fix implicit any error for Grid
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
afc163
9b2c40cdd7
avoid triggering unmatch when unregister
7 years ago
afc163
05c56553a2
Fix gutter PropTypes
7 years ago
afc163
b4bd906bf0
Fix responsive grid gutter
7 years ago
afc163
dd8b6347c7
Fix enquire in server render
7 years ago
afc163
09c2df4093
Fix test case
7 years ago
afc163
692efefe31
Support responsively grid gutter
7 years ago
afc163
1c8fbb8899
update code style
7 years ago
ravirambles
8ccd02139c
update row to remove implicit any ( #7803 )
7 years ago
paranoidjk
ba168b826f
refactor: use spread operator replace object-assign ( #6677 )
8 years ago
Manjit Kumar
4e055ed5d0
use PropTypes from 'prop-types' mdoule instead of React
- as React.PropTypes is being deprecated
- Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
- Solution: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
8 years ago
Tan Shaohui
804efbfbde
code optimize ( #5314 )
8 years ago
ddcat1115
7ab95b7eae
- fix ts error ( #5145 )
- typescript upgrade to 2.2.1
8 years ago
Chikara Chan
64f6a71cc9
fix: should not render useless className when type is undefined ( #4784 )
8 years ago
Benjy Cui
1351b5da5d
refactor: remove splitObject
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
ddcat1115
0baef0627e
docs: 调整组件导航结构 ( #3758 )
- Layout 更名为 Grid
8 years ago
Benjy Cui
bd7e9f00c0
style: update code style
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
afc163
363f610d8b
Fix tsc errors beside DatePicker
8 years ago
Benjy Cui
5dcce12c2c
fix: some tsc errors ( #2804 )
8 years ago
Benjy Cui
3411765ce9
Refactor ts ( #2760 )
* refactor: add interface form Calendar
* refactor: add interface for layout
* refactor: add interface for DatePicker
* refactor: add interface for Icon
* refactor: add interface for InputNumber
* refactor: add interface for Input
8 years ago
偏右
de359d2cf7
fix tslint problems ( #2360 )
8 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
ddcat1115
4af2731f0c
fix #1672 ( #1936 )
9 years ago
afc163
b06cdd08c3
Fix row-flex-space-around, close #1781
9 years ago
afc163
e524f16361
improve Row children render ( #1746 )
9 years ago
Benjy Cui
ecaa6c56c3
style: enable comma-dangle
9 years ago
Bruce Mitchener
ba965dc746
Convert several React.createClass usages to classes.
9 years ago
Benjy Cui
380deaf54c
fix: Row's children could be null
9 years ago
afc163
d9ff420531
Fix Row in form demo
9 years ago
afc163
ff2cb6142a
Add gutter for Row
9 years ago
Benjy Cui
29825f20c8
style: update code style to please lint
9 years ago
Benjy Cui
b72d18fd44
style: update code style to please the fucking lint
9 years ago
afc163
ce76ebfe9b
replace rcUtil.classSet by classnames, ref react-component/util#1
9 years ago
pizn
90c8d17bbe
feat: 重构下 className 的写法,支持原有的 className
9 years ago
pizn
d1e60798af
udpate...
9 years ago
pizn
69aaa6c296
Add layout componet for antd
9 years ago