Reference Source
public class | source

HelpView

Extends:

*BaseView → HelpView

Class for the help view to display any help information for the user such as the user manual, privacy policy, and contact information.

Static Member Summary

Static Public Members
public static

Member Summary

Public Members
public

Triggers when a component or this component is mounted.

public

renderLink(text: string): Component: *

Renders text as a link.

public

state: *

Private Members
private

Handle the user clicking a link.

private

_onBack: *

When the back button is clicked, check if the user was editing.

Method Summary

Public Methods
public

render()

Renders the component.

public

renderIcon(iconName: string, iconType: string): Component

Render an icon with a specific name and type.

public

renderItemText(text: string): Component

Renders text in a react-native text component with an item style.

public

renderText(text: string): Component

Renders text in a react-native text component.

Inherited Summary

From class BaseView
public

Refreshes the state of the presenter.

public

viewUnmounting(A: Class): *

Component will unmount after this method is called, do any clean up here.

public

render()

Render objects to the screen.

Static Public Members

public static navigationOptions: * source

Public Members

public componentWillMount: * source

Triggers when a component or this component is mounted.

Renders text as a link.

Return:

Component

A react native component

public state: * source

Private Members

private _handleLinkClick(url: string): * source

Handle the user clicking a link.

private _onBack: * source

When the back button is clicked, check if the user was editing.

Public Methods

public render() source

Renders the component.

Override:

BaseView#render

public renderIcon(iconName: string, iconType: string): Component source

Render an icon with a specific name and type.

Params:

NameTypeAttributeDescription
iconName string

The name of the icon to be rendered

iconType string

The library to get the icon from

Return:

Component

A react native component

public renderItemText(text: string): Component source

Renders text in a react-native text component with an item style.

Params:

NameTypeAttributeDescription
text string

The text to render

Return:

Component

A react native component

public renderText(text: string): Component source

Renders text in a react-native text component.

Params:

NameTypeAttributeDescription
text string

The text to render

Return:

Component

A react native component