ADD: added small details view on click on an entity
This commit is contained in:
25
webapp/src/components/control/EntityControl.jsx
Normal file
25
webapp/src/components/control/EntityControl.jsx
Normal file
@@ -0,0 +1,25 @@
|
||||
import React from "react"
|
||||
import './controls.css'
|
||||
|
||||
function EntityControl(Entity)
|
||||
{
|
||||
|
||||
|
||||
console.log(Entity)
|
||||
// console.log(EntityOnFocus)
|
||||
return (
|
||||
<div className="ControlsComponent">
|
||||
<div>
|
||||
<div className="ControlHeader">Name</div>
|
||||
<div className="ControlValues">{Entity.Entity.Name}</div>
|
||||
</div>
|
||||
<div>
|
||||
<div className="ControlHeader">Course</div>
|
||||
<div className="ControlValues">{Entity.Entity.Course}</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default EntityControl;
|
||||
Reference in New Issue
Block a user