import React from 'react'; import CodeBlock from '@theme/CodeBlock'; import styles from './TNodeTransformDisplay.module.scss'; export default function TNodeTransformDisplay({ html, snapshot, caption, title }: { title?: string; caption?: string; html: string; snapshot: string; }) { const normalHtml = decodeURIComponent(html); const normalSnapshot = decodeURIComponent(snapshot); return ( <> {title &&