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.
19 lines (15 loc) • 450 B
JSX
import React, { Component } from 'react'
import CluedInApp from '../cluedinapp.jsx'
import { connect } from 'react-redux';
class Index extends Component {
render() {
const { id } = this.props.params;
return (<CluedInApp paramToListen={id} type="default" entityId={id}></CluedInApp>);
}
}
var select = ( state, ownProps ) => {
return {
id: ownProps.params.id
};
};
export default connect( select )( Index );