1 | import { createVNode as _createVNode } from "vue";
|
2 | import { defineComponent } from 'vue';
|
3 | import PropTypes from '../_util/vue-types';
|
4 | var skeletonTitleProps = {
|
5 | prefixCls: PropTypes.string,
|
6 | width: PropTypes.oneOfType([PropTypes.number, PropTypes.string])
|
7 | };
|
8 | export var SkeletonTitleProps = PropTypes.shape(skeletonTitleProps);
|
9 | var Title = defineComponent({
|
10 | props: skeletonTitleProps,
|
11 | render: function render() {
|
12 | var _this$$props = this.$props,
|
13 | prefixCls = _this$$props.prefixCls,
|
14 | width = _this$$props.width;
|
15 | var zWidth = typeof width === 'number' ? "".concat(width, "px") : width;
|
16 | return _createVNode("h3", {
|
17 | "class": prefixCls,
|
18 | "style": {
|
19 | width: zWidth
|
20 | }
|
21 | }, null);
|
22 | }
|
23 | });
|
24 | export default Title; |
\ | No newline at end of file |