Benjy Cui
047bfc2574
style: enable react/prefer-stateless-function
9 years ago
afc163
b4be06f816
improve button loading animation
9 years ago
afc163
5f0b1ef006
Fix button text span wrap
9 years ago
afc163
e4c3faeabc
fix size propTypes
9 years ago
afc163
41182f5619
fix prefixCls
9 years ago
afc163
611665fa6d
button contains icon only should has smaller padding
9 years ago
afc163
5b1ccce554
fix button demo
9 years ago
Benjy Cui
df3ba36720
docs: remove useless newline in documentation
9 years ago
afc163
5c884a64c4
Remove Button type PropTypes limit, close #1308
9 years ago
afc163
9f342a0568
update button group demo
9 years ago
Benjy Cui
d5a6932c15
docs: update documentation format
9 years ago
Benjy Cui
03d09b66e8
docs: update demo format
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
ed3cda06a2
update button docs
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
afc163
78d3653620
update button group demo
9 years ago
afc163
fcbd6015bd
fix button-group disable button border, close #926
9 years ago
afc163
413e816c98
update button doc
9 years ago
Benjy Cui
209170e813
style: update demo 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
91bd7f22c0
use mountNode replace the long getElementById
9 years ago
afc163
c5df2c0fac
update button demo text
9 years ago
afc163
2699f5075c
update button loading
9 years ago
afc163
5e1f611863
Add dashed button, ref #413
9 years ago
afc163
d1d3329674
fix boolean attribute lint errors
9 years ago
afc163
16abf46071
Fix markdown eslint errors, update .eslintrc
9 years ago
afc163
ce76ebfe9b
replace rcUtil.classSet by classnames, ref react-component/util#1
9 years ago
Benjy Cui
5fd6999866
feat: make `Button` easy to use
9 years ago
afc163
25368de60b
update button demo style
9 years ago
afc163
f526703bf8
update disabled button demo
9 years ago
偏右
4eef432425
Update index.md
9 years ago
afc163
753c01ae18
ES6 syntax for demo code
fix antd.notification
9 years ago
afc163
7c9892a9c7
Add Button propsType
9 years ago
afc163
602c2d1f9d
support border radius in ie8 via css3pie
9 years ago
afc163
5a50df6b78
use ghost button to match primary button
9 years ago
afc163
cad3fdff45
lg => large, sm => small
9 years ago
afc163
415fa383e3
unify all size prop to: large default small
9 years ago
yiminghe
76b0f673ec
beta2
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
5b86a4be1d
refactor: replace `button` tag with `Button` component
9 years ago