import {Box, Card, Stack, Text} from '@sanity/ui' import type {TSDocParamBlock} from '../../../core' import {CommentBox} from '../../comment' import {PortableText} from '../../comment/PortableText' import {useSpace, useTextSize} from '../../lib/ui' export function TSVariableParamMember(props: {data: TSDocParamBlock}): React.ReactNode { const {data} = props const {content, name} = data const textSize = useTextSize([-1, -1, 0]) return ( {name} {content && ( )} ) }