import { useParams } from 'common' import Link from 'next/link' import { Button } from 'ui' import { SimpleCodeBlock } from '@ui/components/SimpleCodeBlock' import { Markdown } from '../Markdown' import { ExternalLink } from 'lucide-react' interface ResourceContentProps { selectedLanguage: 'js' | 'bash' snippet: { key: string title: string description?: string docsUrl?: string } codeSnippets: any[] } const ResourceContent = ({ selectedLanguage, snippet, codeSnippets }: ResourceContentProps) => { const { ref: projectRef } = useParams() return (
{codeSnippet.title}