We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 882f726 commit ff6f7faCopy full SHA for ff6f7fa
src/components/Output.tsx
@@ -25,6 +25,9 @@ export default function Output({
25
) => void;
26
data: FormProps<any, RJSFSchema, any>["schema"];
27
}) {
28
+ // Enrich the data with the output.
29
+ data = { ...data, output: output.default };
30
+
31
return (
32
<>
33
<Card bg={"light"} className="mb-4">
@@ -49,6 +52,7 @@ export default function Output({
49
52
code={JSON.stringify(data, null, 2)}
50
53
language={"json"}
51
54
title="JSON"
55
+ wrapLongLines={false}
56
/>
57
</>
58
)}
0 commit comments