import NotificationBikeItem from 'PedalPatrol/src/components/views/helpers/notificationbikeitem.js'
NotificationBikeItem
Extends:
* → NotificationBikeItem
Class to help the displaying of notification items on the home view page.
Static Member Summary
Static Public Members | ||
public static |
propTypes: * Helper prop types. |
Member Summary
Public Members | ||
public |
|
|
public |
Navigate to a page with a title. |
Method Summary
Public Methods | ||
public |
render() Renders the notification item card. |
Static Public Members
Public Members
public componentWillMount: * source
public navigate(screen: string, shouldRenavigate: Boolean): * source
Navigate to a page with a title. This method is used over the commented out line below because successive touches of a bike item would not add the data because data is only received in process in the componentWillMount function. So adding the 'key' property to navigate makes it see that the new page is unique.