'use client'; import CodeHighlight from './highlight'; import IconCode from '@/components/icon/icon-code'; import React, { useState, ReactNode } from 'react'; interface PanelCodeHighlightProps { children: ReactNode; title?: string; codeHighlight?: string; id?: string; className?: string; } const PanelCodeHighlight = ({ children, title, codeHighlight, id, className = '' }: PanelCodeHighlightProps) => { const [toggleCode, setToggleCode] = useState(false); return (
{codeHighlight}