feat(Switch): remove inline style (#4914)

This commit is contained in:
neverland
2019-11-04 17:37:46 +08:00
committed by GitHub
parent 9ace3320b8
commit a19d3cc5c0
5 changed files with 9 additions and 10 deletions
+1 -4
View File
@@ -14,6 +14,7 @@ export type SharedSwitchProps = {
};
export const switchProps = {
size: String,
value: null as any,
loading: Boolean,
disabled: Boolean,
@@ -26,9 +27,5 @@ export const switchProps = {
inactiveValue: {
type: null as any,
default: false
},
size: {
type: String,
default: '30px'
}
};