1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-23 15:24:21 +00:00
sophon/frontend/src/components/placeholder/DebugBox.tsx

21 lines
409 B
TypeScript
Raw Normal View History

import * as React from "react"
import {Box, Code} from "@steffo/bluelib-react";
export interface DebugBoxProps {
[key: string]: any,
}
export function DebugBox(props: DebugBoxProps): JSX.Element {
return (
<Box todo={true}>
<Code>
<pre>
{JSON.stringify(props, undefined, 4)}
</pre>
</Code>
</Box>
)
}