import { defineComponent, ExtractPropTypes } from 'vue'; import PropTypes from '../_util/vue-types'; const skeletonTitleProps = { prefixCls: PropTypes.string, width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), }; export const SkeletonTitleProps = PropTypes.shape(skeletonTitleProps).loose; export type ISkeletonTitleProps = Partial>; const Title = defineComponent({ props: skeletonTitleProps, render() { const { prefixCls, width } = this.$props; const zWidth = typeof width === 'number' ? `${width}px` : width; return

; }, }); export default Title;