Fix example code

This commit is contained in:
Nicolas Gallagher
2015-06-10 16:14:45 -07:00
parent 858a8d9ebe
commit 4d865bcd34
+4 -4
View File
@@ -273,7 +273,7 @@ class Avatar extends React.Component {
return ( return (
<Image <Image
accessibilityLabel="" accessibilityLabel={`${user.name}'s profile picture`}
source={user.avatarUrl} source={user.avatarUrl}
style={style} style={style}
/> />
@@ -327,9 +327,9 @@ class PrettyText extends React.Component {
...other ...other
style={{ style={{
...style, ...style,
...localStyle[color], ...localStyle.color[color],
...localStyle[size], ...localStyle.size[size],
...localStyle[weight] ...localStyle.weight[weight]
}} }}
/> />
); );