UNPKG

cluedin-widget

Version:

This project contains all the pages needed for browsing entities and searching them. The aim is to replace the CluedIn.Webapp project with this one when all the pages ( including the Admin page ) will be ported to REACT.

21 lines (18 loc) 729 B
import React, { Component } from 'react' import ProviderIcons from '../entityRelated/providerIcons.jsx' import EntityIcon from '../entityRelated/EntityIcon.jsx' import EntityLink from '../entityRelated/EntityLink.jsx' export default class Deal extends Component { render() { const { entity } = this.props; return ( <div className="cluedIn_entity_row"> <div className="cluedIn_entity_row_sub"> <ProviderIcons providers={entity.providers}></ProviderIcons> <EntityIcon entityType={entity.data.entityType}></EntityIcon> <EntityLink entity={entity}></EntityLink> </div> </div> ); } }