We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d10ae9c commit dd5df85Copy full SHA for dd5df85
components/skeleton/index.jsx
@@ -157,7 +157,8 @@ const Skeleton = {
157
</div>
158
);
159
}
160
- return <span>{this.$slots.default}</span>;
+ const children = this.$slots.default;
161
+ return children && children.length === 1 ? children[0] : <span>{children}</span>;
162
},
163
};
164
/* istanbul ignore next */
0 commit comments