import classNames from 'classnames' import Link from 'next/link' import { ReactNode } from 'react' import { Icon } from '../Icon' export function ParametersTable({ children }: { children: ReactNode }) { return (
{children}
Name Description
) } export function ParametersTableRow({ children }: { children: ReactNode }) { return {children} } export function ParametersTableName({ children }: { children: ReactNode }) { return {children} } export function ParametersTableDescription({ children }: { children: ReactNode }) { return {children} } export function TitleWithSourceLink({ children, source, large, tags, inherited, }: { children: ReactNode source?: string | null large?: boolean tags?: string[] inherited?: { name: string; link: string } }) { return ( <>
{children}
{tags?.map((tag) => ( {tag} ))} {source && ( )}
{inherited && (
from{' '} {inherited.name}
)} ) } export function Tag({ children, tag }: { children: ReactNode; tag: string }) { return {children} }