import { useParams } from 'common' import Link from 'next/link' import { Button, IconExternalLink } from 'ui' import SimpleCodeBlock from 'components/to-be-cleaned/SimpleCodeBlock' import { Markdown } from '../Markdown' 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}