Methods
(inner) Contact(contact, onClick) → {JSX.Element}
Contact component for displaying individual electrode contacts
Parameters:
Name | Type | Description |
---|---|---|
contact | Object | Data for the contact |
onClick | function | 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:
Name | Type | Attributes | Description |
---|---|---|---|
initialData | Object | <optional> | Initial data for electrodes |
onStateChange | function | Callback for state changes | |
savedState | Object | <optional> | Saved state data |
Returns:
Designation component
- Type:
- JSX.
Element
(inner) getMarkColor(contact) → {string}
Gets CSS class for contact based on mark status
Parameters:
Name | Type | Description |
---|---|---|
contact | Object | Data for the contact |
Returns:
CSS classes for the contact
- Type:
- string