import { createVNode as _createVNode } from "vue";
import _extends from "@babel/runtime/helpers/esm/extends";
import { defineComponent } from 'vue';
export const skeletonTitleProps = () => ({
  prefixCls: String,
  width: {
    type: [Number, String]
  },
  className: String,
  style: {
    type: Object
  }
});
const SkeletonTitle = defineComponent({
  compatConfig: {
    MODE: 3
  },
  name: 'SkeletonTitle',
  props: skeletonTitleProps(),
  setup(props) {
    return () => {
      const {
        prefixCls,
        width,
        className,
        style
      } = props;
      const zWidth = typeof width === 'number' ? `${width}px` : width;
      return _createVNode("h3", {
        "class": [prefixCls, className],
        "style": _extends({
          width: zWidth
        }, style || {})
      }, null);
    };
  }
});
export default SkeletonTitle;