afc163
5c884a64c4
Remove Button type PropTypes limit, close #1308
9 years ago
Bruce Mitchener
273e527201
Use static class members for propTypes and friends.
9 years ago
Bruce Mitchener
71594b0e5c
Remove manual binding for 'this'.
Use ES7 style class members for event handlers so that 'this' is
automatically bound and each definition site doesn't need to manually
invoke 'bind'.
This makes all existing ES2015 class usages in components use the
same mechanism for binding.
9 years ago
afc163
72db02ef04
Add icon prop for Button, close #1199
9 years ago
闲耘™
8d817e6eee
update(propTypes): more restrictions on propTypes
9 years ago
闲耘™
1c35bd3d9d
refact(regexp): better regexp
9 years ago
afc163
f7fb5b29f9
Fix click effect in Popconfirm button
9 years ago
afc163
4446e73fda
remove button border-radius fallback
9 years ago
afc163
c3014c26a1
Fix button click arguments
9 years ago
afc163
be3a90fbc6
Add click effect for primary button, close #942
9 years ago
Benjy Cui
29825f20c8
style: update code style to please lint
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
ce76ebfe9b
replace rcUtil.classSet by classnames, ref react-component/util#1
9 years ago
afc163
7c9892a9c7
Add Button propsType
9 years ago
afc163
602c2d1f9d
support border radius in ie8 via css3pie
9 years ago
afc163
415fa383e3
unify all size prop to: large default small
9 years ago
Benjy Cui
1e45e02e8a
feat: add support for htmlType
9 years ago
Benjy Cui
f4ca0798de
refactor: generate className with `rcUtil.classSet`
9 years ago
Benjy Cui
2f771b0482
feat: button should be a component
9 years ago