mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 01:54:48 +00:00
feat(Loading): avoid using inline style (#4780)
This commit is contained in:
@@ -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
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user