Skip to content

Commit 7d78b4a

Browse files
committed
Show url in iframe output demo page
1 parent 218dbf2 commit 7d78b4a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

packages/components/src/OutputTypesDemoPage.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,9 @@ def hello():
312312
<div className="py-3">
313313
{section.type === "html" || section.type === "svg" ? (
314314
<div className="border border-dotted border-gray-300">
315+
<pre className="bg-gray-100 p-1 text-xs">
316+
{iframeUri}/react.html
317+
</pre>
315318
<IframeOutput
316319
iframeUri={iframeUri ?? "."}
317320
outputs={section.outputs}

0 commit comments

Comments
 (0)