Something went wrong. Try again.
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334'use client';
import { CodeHighlightTabs } from '@mantine/code-highlight';import { UrlCard, User } from '@semble/types';
interface Props { cardContent: UrlCard['cardContent']; cardAuthor?: User;}
export default function UrlCardDebugView(props: Props) { return ( <CodeHighlightTabs code={[ { fileName: 'Content', code: JSON.stringify(props.cardContent, null, 2), language: 'json', }, { fileName: 'Author', code: JSON.stringify(props.cardAuthor, null, 2), language: 'json', }, ]} radius="md" withBorder onClick={(e) => e.stopPropagation()} style={{ cursor: 'auto', zIndex: 0 }} defaultExpanded={false} /> );}