import React from 'react'; import { InlineCode } from '~/components/base/code'; import { LI, UL } from '~/components/base/list'; import { H2, H3Code } from '~/components/plugins/Headings'; import { InterfaceDefinitionData, InterfaceValueData } from '~/components/plugins/api/APIDataTypes'; import { CommentTextBlock, inlineRenderers, renderers, } from '~/components/plugins/api/APISectionUtils'; export type APISectionInterfacesProps = { data: InterfaceDefinitionData[]; }; const renderInterface = ({ name, children, comment }: InterfaceDefinitionData): JSX.Element => (