import {APITypeAlias} from '@sanity/tsdoc' import {Card} from '@sanity/ui' import {_compileTypeParameters} from '../../app/lib/_compile' import {CommentExampleBlocks, CommentRemarks} from '../../comment' import {H} from '../../lib/ui' import {TSDocCode} from '../TSDocCode' export function TypeAliasContent(props: {data: APITypeAlias}): React.ReactNode { const {data} = props const {comment, name, type, typeParameters = []} = data return ( <> {type && ( <> Signature )} {comment && } {comment && } ) }