feat(Loading): avoid using inline style (#4780)

This commit is contained in:
neverland
2019-10-19 16:05:16 +08:00
committed by GitHub
parent e83e4e6956
commit a625bdca42
11 changed files with 24 additions and 26 deletions

View File

@@ -1,5 +1,4 @@
import { createNamespace, addUnit } from '../utils';
import { GRAY } from '../utils/constant';
import { inherit } from '../utils/functional';
// Types
@@ -74,16 +73,13 @@ function Loading(
}
Loading.props = {
color: String,
size: [Number, String],
vertical: Boolean,
textSize: [Number, String],
type: {
type: String,
default: 'circular'
},
color: {
type: String,
default: GRAY
}
};