import { Doc } from '../utils/doc-utils' import { Link } from 'react-feather' export interface DocsProps { docs: Doc[] } export default function Docs({ docs }: DocsProps) { return (
{docs.map((doc) => (
{doc.name}
{doc.default && (
Default: {doc.default}
)}
))}
) }