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.
25 lines (22 loc) • 530 B
JSX
import React, { Component } from "react";
import Radium from "radium";
const EntityLogoStyle = {
logo: {
width: '40px',
height: '40px',
borderRadius: '50px',
boxSizing: 'border-box',
border: '1px solid #ccc',
marginLeft: 0,
marginRight: 0,
}
};
class EntityLogo extends Component {
render() {
const { url } = this.props;
return (
<img style={EntityLogoStyle.logo} src={url}/>
);
}
}
export default Radium( EntityLogo );