Class

UnionsDialog

UnionsDialog(props) → {React.PureComponent}

Overview

The fullscreen dialog with details of a selected union.
Constructor

# new UnionsDialog(props) → {React.PureComponent}

Parameters:
Name Type Description
props Object

Any other props will be forwarded to the FullscreenDialog element.

item Object

The selected union with it's characteristics.

item.id number

The id of a selected union.

item.name Object

The name of a selected union.

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

The characteristics of a selected union in a key-value form.

item.traits.Accuracy_of_approximation number
item.traits.Quality_of_approximation number
item.toFilter function

Returns item in an easy to filter form.

objectGlobalName string

The global visible object name used by all tabs as reference.

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 true the Dialog is open.

projectId string

The identifier of a selected project.

serverBase string

The host in the URL of an API call.

View Source Utils/Dialogs/DetailsDialog/UnionsDialog.js, line 41

React.PureComponent