import { LinkIcon } from '@primer/octicons-react' import type { GraphqlT } from './types' import { Notice } from './Notice' type Props = { item: GraphqlT heading?: string headingLevel?: number children?: React.ReactNode } export function GraphqlItem({ item, heading, children, headingLevel = 2 }: Props) { const lowerCaseName = item.name.toLowerCase() return ( <> {headingLevel === 2 && (