react-native-ui-lib 7.38.1-snapshot.6434 → 7.38.1-snapshot.6442
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
|
@@ -193,7 +193,7 @@ function buildOldDocs(component) {
|
|
|
193
193
|
/* Snippet */
|
|
194
194
|
if (component.snippet) {
|
|
195
195
|
content += `### Usage\n`;
|
|
196
|
-
content += `<UILivePreview code={\`${component.snippet
|
|
196
|
+
content += `<UILivePreview componentName={"${component.name}"} code={\`${component.snippet
|
|
197
197
|
?.map(item => _.replace(item, new RegExp(/\$[1-9]/, 'g'), ''))
|
|
198
198
|
.join('\n')
|
|
199
199
|
.toString()}\`}/>\n\n`;
|