import { stringifyJson } from '@/utils/jwt'; import type { JwtResult } from '@/utils/jwt'; import { cn } from '@/lib/utils'; import { JWT_JSON_CONTENT_CLASS, JWT_SECTION_CONFIG, JWT_SIGNATURE_SECTION, JWT_TEXT_CONTENT_CLASS, } from '../constants'; import JwtCopyBlock from './JwtCopyBlock'; interface JwtResultViewProps { result: JwtResult; } export default function JwtResultView({ result }: JwtResultViewProps) { return (
{content ? stringifyJson(content) : '无法解析'}