UNPKG

cluedin-widget

Version:

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

19 lines (16 loc) 480 B
import React, { Component } from 'react'; import iso from '../../../iso'; import config from '../../config'; export default class EntityLink extends Component { render() { const { entity } = this.props; const linkUrl = config.location.goToEntity( entity ); return ( <div className="cluedIn_entity_row_title"> <a href={linkUrl}> {entity.name} </a> </div> ); } };