vibe-design-system 2.5.21 → 2.5.22
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/package.json
CHANGED
|
@@ -597,8 +597,7 @@ function buildDefaultArgsForRequiredProps(props, usageFromPages = null, componen
|
|
|
597
597
|
const required = p.required === true;
|
|
598
598
|
if (/ReactNode|React\.ReactNode/.test(type)) {
|
|
599
599
|
const text = REACTNODE_PLACEHOLDER_TEXT[name] || componentPlaceholders[name] || "Content";
|
|
600
|
-
argLines.push(` ${name}:
|
|
601
|
-
needReact = true;
|
|
600
|
+
argLines.push(` ${name}: ${JSON.stringify(text)},`);
|
|
602
601
|
added.add(name);
|
|
603
602
|
continue;
|
|
604
603
|
}
|