import React , { ReactElement } from 'react' ; import Avatar from './Avatar/Avatar' ; import { EntryComponentProps } from './Entry' ; export default function DefaultEntryComponent ( props ) { const { mention , theme , isFocused , searchValue , selectMention , ... parentProps } = props ; return ( < div { ... parentProps } > < Avatar mention = { mention } theme = { theme } / > < span className = { theme ?. mentionSuggestionsEntryText } > { mention . name } < /span> < /div>); }