import {APIPropertySignature} from '@sanity/tsdoc' import {Box, Card, Flex} from '@sanity/ui' import {CommentBox, CommentSummary} from '../../comment' import {Size} from '../../lib/ui' import {TSDocCode} from '../TSDocCode' import {APIMemberWithInheritance} from './_types' import {MemberInheritedFrom} from './MemberInheritedFrom' import {TSMemberReleaseTag} from './TSMemberReleaseTag' export function TSPropertySignatureMember(props: { data: APIMemberWithInheritance }): React.ReactNode { const {data} = props const {comment, inheritedFrom, isOptional, name, type, releaseTag} = data return ( {comment?.summary && ( {/* TODO: CommentDeprecatedCallout */} {/* TODO: CommentRemarks */} {/* TODO: CommentExampleBlocks */} )} {inheritedFrom && ( )} ) }