perf: add truthProp util (#8522)

* perf: add TruthyProp util

* chore: rename

* chore: upd
This commit is contained in:
neverland
2021-04-14 10:26:21 +08:00
committed by GitHub
parent 9381640d2e
commit bd609e1df0
59 changed files with 226 additions and 460 deletions
+3 -3
View File
@@ -8,7 +8,7 @@ import {
} from 'vue';
// Utils
import { createNamespace, isDef, UnknownProp } from '../utils';
import { createNamespace, isDef, unknownProp } from '../utils';
import { lockClick } from './lock-click';
// Components
@@ -30,11 +30,11 @@ export default defineComponent({
overlay: Boolean,
message: [Number, String],
iconSize: [Number, String],
className: UnknownProp,
className: unknownProp,
iconPrefix: String,
loadingType: String as PropType<LoadingType>,
forbidClick: Boolean,
overlayClass: UnknownProp,
overlayClass: unknownProp,
overlayStyle: Object as PropType<CSSProperties>,
closeOnClick: Boolean,
closeOnClickOverlay: Boolean,