'use client'; import { useState } from 'react'; interface DemoProps { title: string; description?: string; code?: string; children: React.ReactNode; } export function Demo({ title, description, code, children }: DemoProps) { const [showCode, setShowCode] = useState(false); return (
{description}
)}
{code}