UNPKG

cluedin-widget

Version:

This is the project for creating and managing widgets in CluedIn.

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> ); } }