@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.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1559,8 +1559,12 @@ var SkeletonCard = ({
|
|
|
1559
1559
|
showAvatar = true,
|
|
1560
1560
|
showImage = false,
|
|
1561
1561
|
textLines = 3,
|
|
1562
|
-
className
|
|
1562
|
+
className,
|
|
1563
|
+
children
|
|
1563
1564
|
}) => {
|
|
1565
|
+
if (children) {
|
|
1566
|
+
return /* @__PURE__ */ jsx11("div", { className: cn("p-4 space-y-4 rounded-lg bg-card outline-none focus:outline-none", className), children });
|
|
1567
|
+
}
|
|
1564
1568
|
return /* @__PURE__ */ jsxs9("div", { className: cn("p-4 space-y-4 rounded-lg bg-card outline-none focus:outline-none", className), children: [
|
|
1565
1569
|
showAvatar && /* @__PURE__ */ jsxs9("div", { className: "flex items-center space-x-3", children: [
|
|
1566
1570
|
/* @__PURE__ */ jsx11(SkeletonAvatar, {}),
|