import NotificationView from 'PedalPatrol/src/components/views/notification-view.js'NotificationView
Extends:
* → NotificationView
Class for the Notification view
Constructor Summary
| Public Constructor | ||
| public |
Creates an instance of the NotificationView. |
|
Member Summary
| Public Members | ||
| public |
|
|
| public |
Updates the num in the state. |
|
Method Summary
| Public Methods | ||
| public |
onValueChange(value: Boolean) Toggle the status of item |
|
| public |
render() Renders the react native component. |
|
| public |
Render the element if condition is satisfied |
|
Public Constructors
Public Members
Public Methods
public onValueChange(value: Boolean) source
Toggle the status of item
Params:
| Name | Type | Attribute | Description |
| value | Boolean | status of the item |
Reference
Source
