We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fb3282 commit 0e36fbcCopy full SHA for 0e36fbc
docs/button/demo/component.md
@@ -28,5 +28,6 @@ ReactDOM.render(<Box direction="row" spacing={20} >
28
<Button {...props} type="primary">alibaba.com</Button>
29
<Button {...props} type="secondary">alibaba.com</Button>
30
<Button {...props} type="normal">alibaba.com</Button>
31
+ <Button {...props} loading>alibaba.com loading</Button>
32
</Box>, mountNode);
33
````
src/button/main.scss
@@ -415,6 +415,14 @@
415
visibility: visible;
416
animation: loadingCircle 2s infinite linear;
417
}
418
+ &:after {
419
+ content: '';
420
+ display: inline-block;
421
+ position: static;
422
+ height: 100%;
423
+ width: 0;
424
+ vertical-align: middle;
425
+ }
426
427
428
/* custom loading */
0 commit comments