import * as React from 'react'; import {ISuperdesk} from 'superdesk-api'; import {IKnowledgeBaseItem} from './interfaces'; interface IProps { item: IKnowledgeBaseItem; annotationTypeSelect: JSX.Element; onBack(): void; onApplyAnnotation(html: string): void; superdesk: ISuperdesk; } export class AnnotationSelectSingleItem extends React.Component { render() { const {gettext} = this.props.superdesk.localization; return (
{this.props.annotationTypeSelect}

{this.props.item.name}

); } }