Functions

onShare

Parameters: None.

Action:

uses props t and link and prompts user the share menu.

Returns: None.


Components

ShareButton

Props:

Global Variables:

none.

Local Variables:

none.

Purpose:

ShareButton is a simple component used to construct a share button. Once pressed, it calls onShare and prompts user to share via os.

Source Code: