-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Closed
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
Hey.
I want to render some hypertext, e.g
var hypertext = 'this is <a href="http://facebook.com">facebook.com</a> link';
I tried programmatically splitting into
<Text>
<Text>this is </Text>
<Text onPress={this.onLinkPress} style={{color: '#0000ff'}}>facebook.com</Text>
<Text> link</Text>
</Text>
but obviously onPress
wouldn't work, because nested text is transformed.
- Should a message be thrown if
onPress
is being set on the nested text? - Is there any good way to get a click handler on the link?
Metadata
Metadata
Assignees
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.