mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-18 12:12:15 +08:00
Added support of <Text>'s selectable attribute on iOS
Reviewed By: mmmulani Differential Revision: D4187562 fbshipit-source-id: 131ece141fe8b895914043a7a01c6e042e858331
This commit is contained in:
committed by
Facebook Github Bot
parent
2a2ba52ab5
commit
5d03ff8035
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user