import {APIEnumMember} from '@sanity/tsdoc' import {Box, Card, Code, Flex} from '@sanity/ui' import {ReleaseBadge} from '../../components/ReleaseBadge' import {APIMemberWithInheritance} from './_types' import {MemberInheritedFrom} from './MemberInheritedFrom' export function TSEnumMember(props: { data: APIMemberWithInheritance level?: number }): React.ReactNode { const {data} = props return ( {data.name} {data.inheritedFrom && ( )} ) }