import { Grafaid } from '#lib/grafaid/index' import { Code, Flex } from '@radix-ui/themes' import { Link } from '../Link.js' import { TypeKindIcon } from './graphql.js' import { typeKindTokensIndex } from './type-kind-tokens.js' export const TypeLink: React.FC<{ type: Grafaid.Schema.TypesLike.Named }> = ({ type }) => { const kind = Grafaid.Schema.typeKindFromClass(type) return ( {` `} {type.name} ) }