Parameters: None.
Action:
uses props t and link and prompts user the share menu.
Returns: None.
Props:
String t: Title to be sharedString link : Link to be sharedGlobal 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: