fix: update skeleton

pull/4606/head
tangjinzhou 2021-08-29 14:41:58 +08:00
parent 22db40bc41
commit dcfe82e8fd
1 changed files with 2 additions and 1 deletions

View File

@ -1,9 +1,10 @@
import type { ExtractPropTypes, PropType } from 'vue';
import { defineComponent } from 'vue';
type widthUnit = number | string;
export const skeletonParagraphProps = {
prefixCls: String,
width: { type: [Number, String] as PropType<string | number> },
width: { type: [Number, String, Array] as PropType<widthUnit[] | widthUnit> },
rows: Number,
};