import { Box, Flex, Text } from '@radix-ui/themes' import type { GraphQLArgument } from 'graphql' import type { FC } from 'react' import { TypeAnnotation } from './TypeAnnotation.js' export interface Props { data: GraphQLArgument } /** * Renders a single GraphQL argument in SDL syntax */ export const ArgumentAnnotation: FC = ({ data }) => { return ( {data.name} ) }