Importing
import Link from './Link'
Example Usage
render()
{
return (
<View style={{flex: 1}}>
<Text>
We've updated our privacy policy. Click <Link href="https://www.google.com/privacy.html">Here</Link> to consent changes.
</Text>
<Text>
<Link href="http://example.com" confirm={true}>This link</Link> will prompt for a confirmation before opening in the browser.
</Text>
<Text>
<Link
href="http://example.com"
style={{backgroundColor: 'red', color: '#000'}}
confirm={true}
dialogTitle="You're leaving.."
dialogText="Are you sure you want to proceed with this URL?">This link</Link> has custom confirmation texts.
</Text>
</View>
)
}