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.

18 lines (16 loc) 539 B
import React, { Component } from 'react'; export default class DemoPanel extends Component { render() { const { title, properties } = this.props; return (<div className="DemoPanel"> <div className="DemoPanelTitle">{title}</div> <div className="DemoPanelContent"> {this.props.children} </div> <div className="DemoPanelProperties"> <div>Properties:</div> <div>{properties}</div> </div> </div>); } };