Constructor
# new DisplayData(props) → {React.Component}
Parameters:
Name | Type | Description |
---|---|---|
props |
Object | Arguments received from the parent component |
project |
Object | Holds data about the current project like id, name and everything associated with the project e.g. information table, unions, cones etc. |
informationTable |
Object | InformationTable received from and sent to the server, holds attributes and objects |
project.informationTable.attributes |
Array | Attributes (metadata, might be empty) |
project.informationTable.objects |
Array | Objects (data, might be empty) |
onDataChange |
function | Callback method responsible for updating the informationTable in the parent component (which is ProjectTabs.js) |
updateProject |
function | Callback method responsible for updating the whole project (kept in App.js) |
React.Component