Files
zkldi_Tachi/client/src/components/util/DebugContent.tsx
T
2021-08-17 21:47:47 +01:00

13 lines
249 B
TypeScript

import React from "react";
export default function DebugContent({ data }: { data: unknown }) {
return (
<textarea
readOnly
className="w-100 text-monospace"
style={{ height: "400px" }}
value={JSON.stringify(data, null, 4)}
/>
);
}