Commit Graph

31 Commits

Author SHA1 Message Date
Aleksei Mamaev
59d38ecea6
fix: radioButton ref type (#44747)
* fix: radioButton ref

* fix: added radio types test
2023-09-12 11:40:53 +08:00
lijianan
d178eee50a
type: replace any type with CheckboxRef (#43599) 2023-07-17 12:40:52 +08:00
lijianan
ac5a06027e
revert: "chore: unified import method (#42149)" (#42180)
This reverts commit ea8ed28209.
2023-05-06 15:49:37 +08:00
lijianan
ea8ed28209
chore: unified import method (#42149)
* chore: unified import method

* fix lint
2023-05-05 20:52:44 +08:00
二货机器人
2c2c631bfd
chore: prettier components (#36171) 2022-06-22 14:57:09 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports (#35419)
* chore: eslint add consistent-type-imports

* fix avatar

* Update Item.tsx
2022-05-07 14:31:54 +08:00
vagusX
afa4442a10
refactor: add optionType for Radio internally (#34849)
* refactor: add optionType for Radio internally

* fix: lint

* fix: update snapshot

* feat: remove useless condition for RadioGroupContext

* test: add test case for Radio.Button
2022-04-08 15:23:52 +08:00
Tom Xu
2a3fc818d0
refactor(radio): rewrite with hook (#24485)
* refactor(radio): rewrite with hook

* fix lint
2020-05-27 10:21:17 +08:00
二货机器人
578c4132a0
fix: ref in radio button has not forward (#21895) 2020-03-05 16:25:47 +08:00
zhangj
621df692b3
fix: Radio.Button type error (#21807) 2020-03-03 15:01:33 +08:00
zefeng
e3fbb0dbd4
chore: replace legacy context and use PureComponent (#21597) 2020-02-26 16:09:22 +08:00
ztplz
18332d8e76 FIx RadioButton cause RadioGroup onChange event trigger twice (#14523)
fix #14485
2019-01-25 10:32:30 +08:00
陈帅
8e11f0bdb9 merge support prettier 2018-12-07 20:02:01 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls (#13389)
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
afc163
9b9c4c7dec fix typescript errors 2018-11-09 17:38:19 +08:00
afc163
f99b9ab56e Remove wave effect of Radio.Button 2018-11-07 14:25:02 +08:00
afc163
9cf6ae6010 Refactor and apply wave click animation to more components
now support Button, Tag, Radio.Button and switch
2018-08-11 15:14:34 +08:00
Wei Zhu
064bfaf554 Add @types/prop-types 2018-08-07 21:09:05 +08:00
Wei Zhu
f78e0098fa Improve Radio/Checkbox type definition
Close #9574
2018-03-08 20:39:34 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports (#8218) 2017-11-17 14:38:54 +08:00
Wei Zhu
401519ec6f Fix types 2017-07-31 01:50:46 +08:00
Benjy Cui
2feb3d42e6 chore: add definition for Button[onMouseDown], close: #6054 2017-05-16 11:55:17 +08:00
Tyler
919cb22eb7 Use the prop-types package from npm instead of React.PropTypes (#6057)
* Use the prop-types package from npm instead of React.PropTypes

* Remove using of PropTypes from React in docs and site
2017-05-09 13:40:33 +08:00
BK Heleth
291ca97428 Fix #6044 | Radio.Button types (#6053) 2017-05-08 13:12:34 +08:00
Wei Zhu
ab6e521ea2 refactor: RadioGroup's cloneElement to context (#5453) 2017-03-23 17:19:50 +08:00
Wei Zhu
54b49afd32 Use a special static property for type detecting
close #5359
2017-03-17 17:54:02 +08:00
Benjy Cui
bd7e9f00c0 style: update code style 2016-09-21 11:54:53 +08:00
Benjy Cui
d3d6faf2f3 refactor: ts radio, ref: #2639 2016-08-10 10:26:42 +08:00
偏右
de359d2cf7 fix tslint problems (#2360) 2016-07-13 11:14:24 +08:00
yiminghe
94706f1d2c fix ts 2016-07-07 20:25:03 +08:00
yiminghe
9a0d751f94 refactor to typescript 2016-06-22 13:19:48 +08:00