2016-07-03 16:45:13 +00:00
|
|
|
import React from 'react';
|
|
|
|
|
|
|
|
export function TextualCompletion({
|
|
|
|
title,
|
|
|
|
subtitle,
|
|
|
|
description,
|
|
|
|
}: {
|
2016-06-16 23:28:09 +00:00
|
|
|
title: ?string,
|
|
|
|
subtitle: ?string,
|
|
|
|
description: ?string
|
|
|
|
}) {
|
|
|
|
return (
|
2016-07-04 16:14:35 +00:00
|
|
|
<div style={{width: '100%'}}>
|
2016-07-03 16:45:13 +00:00
|
|
|
<span>{title}</span>
|
|
|
|
<em>{subtitle}</em>
|
2016-07-04 17:04:58 +00:00
|
|
|
<span style={{color: 'gray', float: 'right'}}>{description}</span>
|
2016-06-16 23:28:09 +00:00
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|