Added support for text padding

This commit is contained in:
Nick Lockwood
2015-03-27 09:21:27 -08:00
parent a925082d2e
commit 698988017c
8 changed files with 31 additions and 6 deletions
+9
View File
@@ -71,6 +71,15 @@ exports.examples = [
</Text>
);
},
}, {
title: 'Padding',
render: function() {
return (
<Text style={{padding: 10}}>
This text is indented by 10px padding on all sides.
</Text>
);
},
}, {
title: 'Font Family',
render: function() {