// @flow import { ComboboxOption } from '@reach/combobox'; import ChannelThumbnail from 'component/channelThumbnail'; import React from 'react'; type Props = { claim: ?Claim, uri?: string, isResolvingUri: boolean, }; export default function ChannelMentionSuggestion(props: Props) { const { claim, uri, isResolvingUri } = props; return !claim ? null : ( {isResolvingUri ? (
) : (
{claim.name}
{(claim.value && claim.value.title) || claim.name}
)} ); }