@underverse-ui/underverse 0.2.15 → 0.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1714,8 +1714,12 @@ var SkeletonCard = ({
|
|
|
1714
1714
|
showAvatar = true,
|
|
1715
1715
|
showImage = false,
|
|
1716
1716
|
textLines = 3,
|
|
1717
|
-
className
|
|
1717
|
+
className,
|
|
1718
|
+
children
|
|
1718
1719
|
}) => {
|
|
1720
|
+
if (children) {
|
|
1721
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: cn("p-4 space-y-4 rounded-lg bg-card outline-none focus:outline-none", className), children });
|
|
1722
|
+
}
|
|
1719
1723
|
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: cn("p-4 space-y-4 rounded-lg bg-card outline-none focus:outline-none", className), children: [
|
|
1720
1724
|
showAvatar && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex items-center space-x-3", children: [
|
|
1721
1725
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(SkeletonAvatar, {}),
|