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 (15 loc) 481 B
import React, { Component } from 'react'; export default class DemoPage extends Component { render() { const { title, purpose } = this.props; return (<div className="DemoPage"> <h1 className="DemoPageTitle">{title}</h1> <div className="DemoPagePurpose"> <p>{purpose}</p> </div> <div className="DemoPageContent"> {this.props.children} </div> </div>); } };