import * as React from 'react'; import Heading from './Heading'; import Link from '../switch-link'; import HorizontalRule from './HorizontalRule'; import { CodeBlock, InlineCode } from './code'; const components = { h1: (props: {}) => , h2: (props: {}) => , h3: (props: {}) => , h4: (props: {}) => , h5: (props: {}) => , h6: (props: {}) => , a: ({ children, ...props }: { children: React.ReactChild; href: string }) => ( {() => children} ), code: CodeBlock, inlineCode: InlineCode, hr: HorizontalRule, }; export default components;