Browse Source

loading button should be unhandlable

pull/91/merge
afc163 9 years ago
parent
commit
43c53f1d8d
  1. 3
      components/button/demo/loading.md
  2. 2
      style/components/button.less

3
components/button/demo/loading.md

@ -21,9 +21,6 @@ var App = React.createClass({
render() {
var loadingClass = this.state.loading ? 'ant-btn-loading' : '';
return <div>
<button className="ant-btn ant-btn-primary ant-btn-circle">
<i className="anticon anticon-loading"></i>
</button>
<button className="ant-btn ant-btn-primary ant-btn-lg ant-btn-loading">
加载中
</button>

2
style/components/button.less

@ -44,6 +44,8 @@
&-loading {
padding-right: 31px;
pointer-events: none;
opacity: 0.75;
&:after {
font-family: anticon;
.animation(loadingCircle 1s infinite linear);

Loading…
Cancel
Save