Methods

(inner) Contact(contact, onClick) → {JSX.Element}

Contact component for displaying individual electrode contacts

Parameters:
NameTypeDescription
contactObject

Data for the contact

onClickfunction

Handler to reflect the change on contact that was clicked

Returns:

A tile that shows information about the contact

Type: 
JSX.Element

(inner) Designation(initialDataopt, onStateChange, savedStateopt) → {JSX.Element}

Designation page to mark each contacts to be either onset zone, epilepsy network, not involved, or out of brain. Default is not involved.

Parameters:
NameTypeAttributesDescription
initialDataObject<optional>

Initial data for electrodes

onStateChangefunction

Callback for state changes

savedStateObject<optional>

Saved state data

Returns:

Designation component

Type: 
JSX.Element

(inner) getMarkColor(contact) → {string}

Gets CSS class for contact based on mark status

Parameters:
NameTypeDescription
contactObject

Data for the contact

Returns:

CSS classes for the contact

Type: 
string