mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-05 03:09:23 +00:00
Fix example code
This commit is contained in:
@@ -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]
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user