fix: update skeleton
parent
22db40bc41
commit
dcfe82e8fd
|
@ -1,9 +1,10 @@
|
||||||
import type { ExtractPropTypes, PropType } from 'vue';
|
import type { ExtractPropTypes, PropType } from 'vue';
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
|
|
||||||
|
type widthUnit = number | string;
|
||||||
export const skeletonParagraphProps = {
|
export const skeletonParagraphProps = {
|
||||||
prefixCls: String,
|
prefixCls: String,
|
||||||
width: { type: [Number, String] as PropType<string | number> },
|
width: { type: [Number, String, Array] as PropType<widthUnit[] | widthUnit> },
|
||||||
rows: Number,
|
rows: Number,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue