Added support of <Text>'s selectable attribute on iOS

Reviewed By: mmmulani

Differential Revision: D4187562

fbshipit-source-id: 131ece141fe8b895914043a7a01c6e042e858331
This commit is contained in:
Valentin Shergin
2016-11-17 16:09:43 -08:00
committed by Facebook Github Bot
parent 2a2ba52ab5
commit 5d03ff8035
9 changed files with 103 additions and 3 deletions

View File

@@ -276,6 +276,17 @@ exports.examples = [
</View>
);
},
}, {
title: 'Selectable',
render: function() {
return (
<View>
<Text selectable={true}>
This text is <Text style={{fontWeight: 'bold'}}>selectable</Text> if you click-and-hold.
</Text>
</View>
);
},
}, {
title: 'Text Decoration',
render: function() {