mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-04-24 04:25:27 +08:00
19 lines
361 B
JavaScript
19 lines
361 B
JavaScript
/**
|
|
* @flow
|
|
*/
|
|
|
|
import * as helpers from '../helpers';
|
|
import sources from '../sources';
|
|
import React from 'react';
|
|
import { Image } from 'react-native';
|
|
|
|
const ImageDefaultSourceExample = () => (
|
|
<Image
|
|
defaultSource={sources.placeholder}
|
|
source={sources.largeAlt}
|
|
style={helpers.styles.base}
|
|
/>
|
|
);
|
|
|
|
export default ImageDefaultSourceExample;
|