element-web/src/autocomplete/Components.js

14 lines
383 B
JavaScript
Raw Normal View History

export function TextualCompletion(props: {
title: ?string,
subtitle: ?string,
description: ?string
}) {
return (
<div className="mx_Autocomplete_Completion">
<span>{completion.title}</span>
<em>{completion.subtitle}</em>
<span style={{color: 'gray', float: 'right'}}>{completion.description}</span>
</div>
);
}