mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Correct logo URL
Summary: Added static files to remove dependency with `react` website, related PR https://github.com/facebook/react-native/pull/16204 After is merged to master, check if all the URLs are working correctly. TheSavior Closes https://github.com/facebook/react-native/pull/16207 Differential Revision: D6509133 Pulled By: hramos fbshipit-source-id: a31dcc07742211dc17046e7e98d805c2282f2a82
This commit is contained in:
committed by
Facebook Github Bot
parent
76a2ca4c9c
commit
8547b7e111
@@ -195,9 +195,9 @@ var MultipleSourcesExample = createReactClass({
|
||||
<Image
|
||||
style={{flex: 1}}
|
||||
source={[
|
||||
{uri: 'https://facebook.github.io/react/img/logo_small.png', width: 38, height: 38},
|
||||
{uri: 'https://facebook.github.io/react/img/logo_small_2x.png', width: 76, height: 76},
|
||||
{uri: 'https://facebook.github.io/react/logo-og.png', width: 400, height: 400}
|
||||
{uri: 'https://facebook.github.io/react-native/img/favicon.png', width: 38, height: 38},
|
||||
{uri: 'https://facebook.github.io/react-native/img/favicon.png', width: 76, height: 76},
|
||||
{uri: 'https://facebook.github.io/react-native/img/opengraph.png', width: 400, height: 400}
|
||||
]}
|
||||
/>
|
||||
</View>
|
||||
@@ -237,7 +237,7 @@ exports.examples = [
|
||||
render: function() {
|
||||
return (
|
||||
<Image
|
||||
source={{uri: 'https://facebook.github.io/react/logo-og.png'}}
|
||||
source={fullImage}
|
||||
style={styles.base}
|
||||
/>
|
||||
);
|
||||
@@ -727,8 +727,8 @@ exports.examples = [
|
||||
},
|
||||
];
|
||||
|
||||
var fullImage = {uri: 'https://facebook.github.io/react/logo-og.png'};
|
||||
var smallImage = {uri: 'https://facebook.github.io/react/img/logo_small_2x.png'};
|
||||
var fullImage = {uri: 'https://facebook.github.io/react-native/img/opengraph.png'};
|
||||
var smallImage = {uri: 'https://facebook.github.io/react-native/img/favicon.png'};
|
||||
|
||||
var styles = StyleSheet.create({
|
||||
base: {
|
||||
|
||||
Reference in New Issue
Block a user