import type { ReactNode } from 'react'; import { Anchor } from './Anchor'; export interface CodeListingProps { /** * The value of this heading. */ readonly children: ReactNode; /** * Additional class names to apply to the root element. */ readonly className?: string | undefined; /** * The href of this heading. */ readonly href?: string | undefined; } export function CodeHeading({ href, className, children }: CodeListingProps) { return (