feat(Circle): size、rate、speed can be string type

This commit is contained in:
陈嘉涵
2020-01-29 10:03:32 +08:00
parent 128769be1c
commit ef70384cdb
5 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ export type SharedSwitchProps = {
};
export const switchProps = {
size: [String, Number],
size: [Number, String],
value: null as any,
loading: Boolean,
disabled: Boolean,