mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
loading button should be unhandlable
This commit is contained in:
parent
741b7f2896
commit
43c53f1d8d
@ -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>
|
||||
|
@ -44,6 +44,8 @@
|
||||
|
||||
&-loading {
|
||||
padding-right: 31px;
|
||||
pointer-events: none;
|
||||
opacity: 0.75;
|
||||
&:after {
|
||||
font-family: anticon;
|
||||
.animation(loadingCircle 1s infinite linear);
|
||||
|
Loading…
Reference in New Issue
Block a user