Fix example code

This commit is contained in:
Nicolas Gallagher
2015-06-10 16:14:45 -07:00
parent 858a8d9ebe
commit 4d865bcd34

View File

@@ -273,7 +273,7 @@ class Avatar extends React.Component {
return (
<Image
accessibilityLabel=""
accessibilityLabel={`${user.name}'s profile picture`}
source={user.avatarUrl}
style={style}
/>
@@ -327,9 +327,9 @@ class PrettyText extends React.Component {
...other
style={{
...style,
...localStyle[color],
...localStyle[size],
...localStyle[weight]
...localStyle.color[color],
...localStyle.size[size],
...localStyle.weight[weight]
}}
/>
);