# new ConesDialog(props) → {React.PureComponent}
Parameters:
Name | Type | Description |
---|---|---|
props |
Object | Any other props will be forwarded to the |
item |
Object | The selected object with it's dominance cones. |
item.id |
number | The id of a selected object. |
item.name |
Object | The name of a selected object. |
item.name.primary |
number | string | The part of a name coloured with a primary colour. |
item.name.secondary |
number | string | The part of a name coloured with a secondary colour. |
item.name.toString |
function | Returns name as a single string. |
item.traits |
Object | Contains the dominance cones of an item. |
item.traits.Positive_dominance_cone |
number | The number of objects that belong to this cone. |
item.traits.Negative_dominance_cone |
number | The number of objects that belong to this cone. |
item.traits.Positive_inverse_dominance_cone |
number | The number of objects that belong to this cone. |
item.traits.Negative_inverse_dominance_cone |
number | The number of objects that belong to this cone. |
item.toFilter |
function | Returns item in an easy to filter form. |
items |
Array.<Object> | Should be an array of all objects. |
onClose |
function | Callback fired when the component requests to be closed. |
onSnackbarOpen |
function | Callback fired when the component requests to display an error. |
open |
boolean | If |
projectId |
string | The identifier of a selected project. |
serverBase |
string | The host in the URL of an API call. |